MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / getAriaRole

Method getAriaRole

javascript/selenium-webdriver/lib/webdriver.js:2918–2920  ·  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

2916 * resolved with the element's computed role.
2917 */
2918 getAriaRole() {
2919 return this.execute_(new command.Command(command.Name.GET_COMPUTED_ROLE))
2920 }
2921
2922 /**
2923 * 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