Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry navigation if unload alert disappears #1965

Commits on Feb 14, 2018

  1. Retry navigation if unload alert disappears

    When a Selenium driver interaction raises an unexpected alert error,
    Firefox 59+ [automatically dismisses the user prompt][1] that caused it.
    Therefore, if the driver reset triggers an unload alert, we cannot wait
    to handle it until we receive an unexpected alert error. Instead, we
    must retry navigation and proactively attempt to accept any alert that
    appears.
    
    [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1416284
    elliterate committed Feb 14, 2018
    Configuration menu
    Copy the full SHA
    32e1c64 View commit details
    Browse the repository at this point in the history