Selenium Compound class names not permitted
Leon’s comment leads to the correct information that compound class names are no longer supported. What you could do instead is try using css selectors. In your case, the following line of code should help you get the element you want : el3 = driver.find_element_by_css_selector(“.action-btn.cancel.alert-display”) For newer Selenium Versions el3 = driver.find_element(By.CSS_SELECTOR, “.action-btn.cancel.alert-display”) It finds … Read more