I am trying to use Selenium to locate a button in an email template and click it, but no matter what I use (xPath, css_selector) it seems that my code cannot locate the button and keep getting this error.
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element:
The email is in Mailinator, I am able to access Mailinator and the email body, but when the click action is about to perform, my code fails throwing the above error code.
Did anyone ever experienced this issue and can help me to understand what I am doing wrong? Please if you need more info just let me know. Thank you very much for your time and help