diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-22 11:18:34 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2017-11-22 11:18:34 +0100 |
commit | de461a335875fc6ab04dd8fba9b38302566f763d (patch) | |
tree | 960e560ee702f09c29cb8a2cf80b561a0b71e0eb | |
parent | 5d816ca0653d775b65c7765e149507dd910cb0de (diff) | |
download | wallet-core-de461a335875fc6ab04dd8fba9b38302566f763d.tar.xz |
catching timeout exception
-rwxr-xr-x | selenium/withdraw_buy.py | 2 |
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 |