Skip to content

Lighthouse fails to dismiss page dialogs #2423

@pmeenan

Description

@pmeenan

Lighthouse is having issues with pages that have dialogs (at least some types of dialogs) and times out when loading the page.

FWIW, WebPageTest had similar issues and now tries first to "accept": false the dialog and if that fails tries "accept": true. Similar logic in Lighthouse should make it more robust for pages with dialogs.

Test page: http://www.dlsite.com/

Log:

  status Loading page & waiting for onload +7ms URL, Viewport, ViewportDimensions, ThemeColor, Manifest, ChromeConsoleMessages, ImageUsage, Accessibility, EventListeners, AnchorsWithNoRelNoopener, AppCacheManifest, DOMStats, OptimizedImages, ResponseCompression, TagsBlockingFirstPaint, WebSQL
  Driver:warn confirm dialog opened by the page automatically suppressed. +4s
  method <= browser ERR:error Page.handleJavaScriptDialog +1ms 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions