html = driver.page_source
re.search(r"<span class="messageText">(.*)<", html)
(edited)

But I want it to with

 = WebDriverWait(driver, 10)
element = .until(EC.element_to_be_clickable((By.ID, 'someid')))

Instead of By.ID it’d be by , so anyone can help me out, please?



Source link https://sqa.stackexchange.com/questions/35481/how-do-i-make-regex-work-with--wait

LEAVE A REPLY

Please enter your comment!
Please enter your name here