Skip to main content
edited title
Link
Bruce McLeod
  • 9.8k
  • 5
  • 34
  • 73

Can someone provide a detailed description of how the Selenium WebDriver isDisplayed() method works?

Tweeted twitter.com/#!/StackSQA/status/364675993811697664
Source Link
Mr. Spice
  • 133
  • 1
  • 3

Selenium WebDriver isDisplayed() method

I currently have a large number of circumstances where I need to verify that a page (along with all of its elements) are displaying correctly. The isDisplayed() method of WebElement appears to be a logical way to do this, however I would like to understand precisely what this method is doing to determine whether or not an element "is displayed". The javadoc does not shed any light on the inner workings of the method and other information on the web appears to be sparse at best.

If anyone could provide a detailed description of how this method works, I would be very grateful.