diff --git a/source/locating-elements.rst b/source/locating-elements.rst index 8d0ebb1..7bc499e 100644 --- a/source/locating-elements.rst +++ b/source/locating-elements.rst @@ -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