Skip to content

Commit

Permalink
Updated the variable name to a python non-reserved word. (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
devid8642 authored Mar 5, 2024
1 parent 7445421 commit 3706869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/locating-elements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ The username & password elements can be located like this::

This will give the "Login" button as it occurs before the "Clear" button::

continue = driver.find_element(By.NAME, 'continue')
continue_button = driver.find_element(By.NAME, 'continue')


Locating by XPath
Expand Down

0 comments on commit 3706869

Please sign in to comment.