selenium: fixing non-clickable element by sleep(). To be improved.
This commit is contained in:
parent
6492b6488a
commit
3264067ce3
0
manifest.json
Normal file → Executable file
0
manifest.json
Normal file → Executable file
@ -110,7 +110,7 @@ def make_donation(client, amount_menuentry=None):
|
||||
sys.exit(1)
|
||||
confirm_taler.click() # Taler as payment option chosen
|
||||
# explicit get() is needed, it hangs (sometimes) otherwise
|
||||
time.sleep(1)
|
||||
time.sleep(3) #FIXME use better way to 'Ok' Taler at checkout page
|
||||
client.get(client.current_url)
|
||||
try:
|
||||
confirm_pay = wait.until(EC.element_to_be_clickable((By.XPATH, "//button[@class='accept']")))
|
||||
|
Loading…
Reference in New Issue
Block a user