I'm not able to click on a modal dialog box. What I'm using is:
element = WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, '//button[@id="solver-button"]')))
element.click()
I don't get an error and after 10 seconds I get the error selenium.common.exceptions.TimeoutException: Message:
The inspect element code for the button:
<button class="rc-button goog-inline-block" tabindex="0" title="Solve the challenge" id="solver-button"></button>