aboutsummaryrefslogtreecommitdiff
path: root/selenium
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-11-22 11:18:34 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-11-22 11:18:34 +0100
commitde461a335875fc6ab04dd8fba9b38302566f763d (patch)
tree960e560ee702f09c29cb8a2cf80b561a0b71e0eb /selenium
parent5d816ca0653d775b65c7765e149507dd910cb0de (diff)
downloadwallet-core-de461a335875fc6ab04dd8fba9b38302566f763d.tar.xz
catching timeout exception
Diffstat (limited to 'selenium')
-rwxr-xr-xselenium/withdraw_buy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/selenium/withdraw_buy.py b/selenium/withdraw_buy.py
index c886329ad..a7c36fe68 100755
--- a/selenium/withdraw_buy.py
+++ b/selenium/withdraw_buy.py
@@ -200,7 +200,7 @@ def register(ctx):
try:
ctx.wait.until(EC.element_to_be_clickable((By.ID,
"select-exchange")))
- except NoSuchElementException:
+ except (NoSuchElementException, TimeoutException):
logger.error("Selecting exchange impossible")
return False
return True