Commit cc021c3a authored by Tobias Fiebig's avatar Tobias Fiebig
Browse files

changed user bar button finder to starts with matching to also match "Users...

changed user bar button finder to starts with matching to also match "Users and messages toggle with new message notification"
parent 775f2566
......@@ -167,7 +167,7 @@ def bbb_browser():
time.sleep(10)
if not args.chat:
try:
element = browser.find_elements_by_css_selector('button[aria-label="Users and messages toggle"]')[0]
element = browser.find_elements_by_css_selector('button[aria-label^="Users and messages toggle"]')[0]
if element.is_enabled():
element.click()
except NoSuchElementException:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment