How to find whether an element is displayed on the web page?



How to find whether an element is displayed on the web page?..

Answer / Satish Chandra Chaudhary

You can check if an element is displayed using isDisplayed() method of WebElement class in Selenium. It returns a boolean value indicating whether the element is currently visible.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What is the command to insert text into the HTML text box using Selenium?

1 Answers  


What is the difference between driver.getwindowhandle() and driver.getwindowhandles() in selenium webdriver?

0 Answers  


Other than the default port 444 how you can run selenium server?

1 Answers  


How to select value in a dropdown?

1 Answers  


What are the limitations of using selenium as a test tool?

1 Answers  


When to use autoit?

1 Answers  


what will be the first salary and what will be the hike in the salary?

0 Answers  


What are the capabilities of selenium webdriver or google webdriver or selenium 2.0?

1 Answers  


Mention what is listeners in selenium webdriver?

1 Answers  


How do I start the browser using WebDriver?

1 Answers  


What is listeners in selenium webdriver?

1 Answers  


What is an implicit wait in selenium?

1 Answers  


Categories