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

Method getAriaRole

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

* Get the computed WAI-ARIA role of element. * * @return {!Promise } A promise that will be * resolved with the element's computed role.

()

Source from the content-addressed store, hash-verified

3061 * resolved with the element's computed role.
3062 */
3063 getAriaRole() {
3064 return this.execute_(new command.Command(command.Name.GET_COMPUTED_ROLE))
3065 }
3066
3067 /**
3068 * Get the computed WAI-ARIA label of element.

Callers

nothing calls this directly

Calls 1

execute_Method · 0.95

Tested by

no test coverage detected