Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8ad9e2 + 06f9b82 commit 373109cCopy full SHA for 373109c
source/navigating.rst
@@ -191,7 +191,7 @@ Selenium WebDriver has built-in support for handling popup dialog
191
boxes. After you've triggered action that would open a popup, you
192
can access the alert with the following::
193
194
- alert = driver.switch_to_alert()
+ alert = driver.switch_to.alert
195
196
This will return the currently open alert object. With this object,
197
you can now accept, dismiss, read its contents or even type into a
0 commit comments