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

change to accomodate BBB2.2 as well

parent 201cbb16
......@@ -134,13 +134,13 @@ def bbb_browser():
logging.info(join_url)
browser.get(join_url)
element = EC.presence_of_element_located((By.XPATH, '//span[contains(@class,"success")]'))
WebDriverWait(browser, selenium_timeout).until(element)
element = EC.invisibility_of_element((By.CSS_SELECTOR, '.ReactModal__Overlay'))
WebDriverWait(browser, selenium_timeout).until(element)
try:
# Wait for the input element to appear
logger.info("Waiting for chat input window to appear.")
element = EC.presence_of_element_located((By.ID, 'message-input'))
WebDriverWait(browser, selenium_timeout).until(element)
element = browser.find_element_by_id('message-input')
chat_send = browser.find_elements_by_css_selector('[aria-label="Send message"]')[0]
# ensure chat is enabled (might be locked by moderator)
......
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