From 370686950585ba65898e585064c68e5c00b2c7fd Mon Sep 17 00:00:00 2001 From: devid Date: Tue, 5 Mar 2024 05:05:43 -0300 Subject: [PATCH] Updated the variable name to a python non-reserved word. (#115) --- source/locating-elements.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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