click on button tag with only class selenium python

Solutions on MaxInterview for click on button tag with only class selenium python by the best coders in the world

showing results for - "click on button tag with only class selenium python"
Matilda
21 Feb 2016
1WebDriverWait(driver,10).until(EC.element_to_be_clickable((By.CSS_SELECTOR,"div.modal-footer button.btn.btn-danger.x[style='danger']"))).click()
2
Giovanni
27 Sep 2016
1from selenium.webdriver.common.by import By
2from selenium.webdriver.support.ui import WebDriverWait
3from selenium.webdriver.support import expected_conditions as EC
4
Poul
09 Apr 2017
1WebDriverWait(driver,10).until(EC.element_to_be_clickable((By.XPATH,"//div[@class='modal-footer']//button[@Class='btn btn-danger x' and text()='Maybe Later']"))).click()
2
similar questions