From 37e5871829beceb48faab5c9fb28364d7bd83dd1 Mon Sep 17 00:00:00 2001 From: Samuel MARTIN MORO Date: Thu, 20 May 2021 18:48:15 +0200 Subject: [PATCH] fix(124) --- stream.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/stream.py b/stream.py index 0ea136e..98a8d2b 100644 --- a/stream.py +++ b/stream.py @@ -7,6 +7,7 @@ from bigbluebutton_api_python import util as bbbUtil from selenium import webdriver from selenium.webdriver.common.keys import Keys +from selenium.common.exceptions import ElementClickInterceptedException from selenium.common.exceptions import JavascriptException from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.chrome.options import Options @@ -162,7 +163,10 @@ def bbb_browser(): if element.is_enabled(): element.click() except NoSuchElementException: - # ignore (chat might be disabled) + # ignore (chat might be disabled) + logging.info("could not find chat input or chat toggle") + except ElementClickInterceptedException: + # ignore (chat might be disabled) logging.info("could not find chat input or chat toggle") time.sleep(10)