-
-
Couldn't load subscription status.
- Fork 1.5k
Describe testing beforeunload in alerts.en.md #2266
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
Conversation
Related info for ChromeDriver: https://issues.chromium.org/issues/351858989#comment30
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
CLA assistant check
All committers have signed the CLA.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Version Specificity
The documentation uses approximate version numbers and dates. Consider adding more precise information about when these changes were implemented, if available, to help users troubleshoot version-specific issues.
Drivers released in approximately 2024 and later automatically dismiss beforeunload prompts by default. If the old behavior is needed, [enable bidi]({{< ref "../bidi/" >}}). NOTE: ChromeDriver still dismisses prompts unless `options.unhandled_prompt_behavior = 'ignore'` is also specified, in addition to enabling bidi (as recently as version 134 or later). NOTE: ChromeDriver implemented automatically dismissing beforeunload prompts in approximately version 126 but enabling bidi had no effect on beforeunload prompts until approximately version 133.
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||
Uh oh!
There was an error while loading. Please reload this page.
User description
Description
Describe testing beforeunload in alerts.en.md
Motivation and Context
I'm working on upgrading the driver used by a test suite and it took me a long time to discover this information.
Related info: https://issues.chromium.org/issues/351858989#comment30
Types of changes
Checklist
(削除) I'm willing to sign the CLA but I don't know how. (削除ここまで)Signed.PR Type
Documentation
Description
Added a new section on
beforeunloadprompt behavior inalerts.en.md.Explained default behavior changes for drivers released in 2024 and later.
Provided specific notes on ChromeDriver versions and configuration requirements.
Changes walkthrough 📝
alerts.en.md
Added documentation for `beforeunload` prompt behaviorwebsite_and_docs/content/documentation/webdriver/interactions/alerts.en.md
beforeunloadprompt behavior.configuration.