Skip to content

Commit

Permalink
Merge pull request #129 from aau-zid/fix_chat_user
Browse files Browse the repository at this point in the history
changed the element handling on login of the chat user
  • Loading branch information
mtsonline authored May 26, 2021
2 parents 2d6749d + b9806b1 commit 8ce8c48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,10 @@ def bbb_browser():

time.sleep(6)

element = EC.invisibility_of_element((By.CSS_SELECTOR, '.ReactModal__Overlay'))
# wait for message input:
element = EC.presence_of_element_located((By.ID, 'message-input'))
WebDriverWait(browser, selenium_timeout).until(element)

browser.find_element_by_id('message-input').send_keys("Viewers of the live stream can now send messages to this meeting")
browser.find_elements_by_css_selector('[aria-label="Send message"]')[0].click()

Expand Down

0 comments on commit 8ce8c48

Please sign in to comment.