Cannot find/click/type in element? Use Selenium, Java and ……….. Javascript

Photo by Obi Onyeador on Unsplash

Sometimes, you try finding an element with Selenium WebDriver and it does not work.

The locator of the element is correct. The element is not included in an iframe. The element is visible and seems enabled.

Still, you cannot find it or interact with it through the Selenium API.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store