MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / isDisplayed

Method isDisplayed

javascript/selenium-webdriver/lib/webdriver.js:3150–3152  ·  view source on GitHub ↗

* Test whether this element is currently displayed. * * @return {!Promise } A promise that will be * resolved with whether this element is currently visible on the page.

()

Source from the content-addressed store, hash-verified

3148 * resolved with whether this element is currently visible on the page.
3149 */
3150 isDisplayed() {
3151 return this.execute_(new command.Command(command.Name.IS_ELEMENT_DISPLAYED))
3152 }
3153
3154 /**
3155 * Take a screenshot of the visible region encompassed by this element's

Callers

nothing calls this directly

Calls 1

execute_Method · 0.95

Tested by

no test coverage detected