adspace


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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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

929


How can you fetch an attribute from an element? How to retrieve typed text from a textbox?

1197


What’s selenese?

920


Do you know how to locate a link using its text in selenium?

985


Have you created any framework?

1038