Skip to content

Commit

Permalink
Merge pull request #146 from PhMemmel/fix-user_list_selector_bbb_24
Browse files Browse the repository at this point in the history
Fix user list selector for 2.4-beta7
  • Loading branch information
mtsonline authored Dec 13, 2021
2 parents 58ef794 + 747f0e1 commit c80c6ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ def bbb_browser():
chat_send.click()

if args.chat:
browser.execute_script("document.querySelector('[aria-label=\"User list\"]').parentElement.style.display='none';")
try:
browser.execute_script("document.querySelector('[aria-label=\"User list\"]').parentElement.style.display='none';")
except JavaScriptException:
browser.execute_script("document.querySelector('[aria-label=\"Users list\"]').parentElement.style.display='none';")
else:
element = browser.find_elements_by_id('chat-toggle-button')[0]
if element.is_enabled():
Expand Down

0 comments on commit c80c6ad

Please sign in to comment.