From ee455b4c418a32085d7c22c8539f14e0ee3542f8 Mon Sep 17 00:00:00 2001 From: Samuel MARTIN MORO Date: Sun, 13 Jun 2021 20:20:29 +0200 Subject: [PATCH] fix(exception): catch as done in a previous commit, for another element: handle ElementClickInterceptedException as NoSuchElementException https://github.com/aau-zid/BigBlueButton-liveStreaming/issues/124#issuecomment-860220579 --- stream.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stream.py b/stream.py index 491f7bb..dafd7bf 100644 --- a/stream.py +++ b/stream.py @@ -178,6 +178,8 @@ def bbb_browser(): element.click() except NoSuchElementException: logging.info("could not find users and messages toggle") + except ElementClickInterceptedException: + logging.info("could not find users and messages toggle") try: browser.execute_script("document.querySelector('[aria-label=\"Users and messages toggle\"]').style.display='none';")