Skip to content

Commit

Permalink
Merge pull request #89 from maheshchinna/patch-1
Browse files Browse the repository at this point in the history
Update navigating.rst
  • Loading branch information
baijum committed Aug 21, 2020
2 parents d8ad9e2 + 06f9b82 commit 373109c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/navigating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ Selenium WebDriver has built-in support for handling popup dialog
boxes. After you've triggered action that would open a popup, you
can access the alert with the following::

alert = driver.switch_to_alert()
alert = driver.switch_to.alert

This will return the currently open alert object. With this object,
you can now accept, dismiss, read its contents or even type into a
Expand Down

0 comments on commit 373109c

Please sign in to comment.