Continuous Test Orchestration And Execution Platform Online

Perform automated and live-interactive testing on 3000+ real desktop and mobile devices online.

Why is Selenium not detecting elements on the page?

Sometimes while executing the test script, elements are not identified even though they are present. Let's say you are searching for a keyword in Google, and after running the script, you get an error - no element found.

The best practice is to use waits in Selenium. For example, in this case, you can Explicit wait.

WebDriverWait wait = new WebDriverWait(webDriver,50);

This will make Selenium wait until your search box appears in the website.You can check another question if Selenium taking much time to load.


Test your websites, web-apps, or mobile apps seamlessly with LambdaTest.

Start Free Testing

Earn resume-worthy Selenium certifications that help you land a top job.

Learn More

Test your web or mobile apps

Test orchestration and execution cloud of 3000+ browsers and OS


24/7 support


Enterprise grade security


Fastest test execution cloud