Html – cannot use find elements by link text in python selenium
I am trying to click on a button which has the following html structure: <button class="btn waves-effect waves-light">Login</button> I would like to click the Login button, here is my code: driver = webdriver.Chrome() driver.get() driver.find_element("link text", "Login") the result is:…