diff options
author | samuel-w <samuel.woon@protonmail.com> | 2021-09-25 07:11:22 +0300 |
---|---|---|
committer | samuel-w <samuel.woon@protonmail.com> | 2021-09-25 07:11:22 +0300 |
commit | 89bbb4d32fdb43fe66564933d90b6b35d2d2e57e (patch) | |
tree | c71a71fc20e874782472c877acbe03b78c0b09cb | |
parent | b71f4c274d1d4c40b77e2d2fb01f0e3bf996c8a5 (diff) |
Fix
-rw-r--r-- | guiTests/guiTest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guiTests/guiTest.py b/guiTests/guiTest.py index a57ca001b..92c794c7e 100644 --- a/guiTests/guiTest.py +++ b/guiTests/guiTest.py @@ -77,7 +77,7 @@ def wait_for_text(time, xpath, text): WebDriverWait(driver, time).until(expected_conditions.text_to_be_present_in_element((By.XPATH, xpath), text)) def wait_for_load(time, by, target): - return WebDriverWait(driver, time).until(expected_conditions.presence_of_element_located(by, target)) + return WebDriverWait(driver, time).until(expected_conditions.presence_of_element_located((by, target))) BACKUP_NAME = "BackupName" PASSWORD = "the_backup_password_is_really_long_and_safe" |