How to handle hidden elements in selenium webdriver?



How to handle hidden elements in selenium webdriver?..

Answer / Tejender Singh

Hidden elements can be handled by using the `isDisplayed()` method, which returns false for hidden elements. You may also want to adjust your locator strategies or CSS Selectors to account for hidden elements.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

Write a code to wait for a particular element to be visible on a page. Write a code to wait for an alert to appear.

1 Answers  


What are the benefits of automation testing?

1 Answers  


How to create and run testng.xml?

1 Answers  


How much does selenium license cost per client machine?

1 Answers  


What test can selenium do?

1 Answers  


What are the testing type supported by selenium webdriver?

1 Answers  


What is the difference between TESTNG and JUNIT? List out Annotations?

1 Answers   HCL, Quovantis Technologies,


How to check if a button is enabled on the page?

1 Answers  


How can you mark a test case as failed by using soft assertion?

1 Answers  


List some of the test types that are supported by selenium.

1 Answers  


What exactly is selenium remote-control (rc) tool?

1 Answers  


How to handle a dropdown in selenium webdriver?

1 Answers  


Categories