Skip to content

Commit

Permalink
Merge pull request #132 from Worteks/fix-userandmessages-click
Browse files Browse the repository at this point in the history
fix(exception): catch
  • Loading branch information
mtsonline authored Jun 13, 2021
2 parents 10cc6bf + ee455b4 commit 0f6be59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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';")
Expand Down

0 comments on commit 0f6be59

Please sign in to comment.