please I'm quite a selenium newbie and I would need help with the following.
I have this simple HTML code:
<button class="_5s5nM yZn2p ">Log in</button> == $0
I need to find this element using the words "Log in". I tried this code but I get an error message:
test_submit2 = driver.find_element_by_link_text("Log in")
any idea of why it doesn't work? Many thanks