Bug 246813
Summary: | [WebDriver] Support "Get Computed Role" command | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lauro Moura <lmoura> |
Component: | WebDriver | Assignee: | Lauro Moura <lmoura> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bburg, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=246845 |
Lauro Moura
https://www.w3.org/TR/webdriver/#dfn-get-computed-role
Current spec:
12.4.9 Get Computed Role
HTTP Method URI Template
GET /session/{session id}/element/{element id}/computedrole
The remote end steps are:
If the current browsing context is no longer open, return error with error code no such window.
Handle any user prompts and return its value if it is an error.
Let element be the result of trying to get a known connected element with url variable element id.
Let role be the result of computing the WAI-ARIA role of element.
Return success with data role.
Tests:
imported/w3c/webdriver/tests/get_computed_role/
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Lauro Moura
Pull request: https://github.com/WebKit/WebKit/pull/5621
EWS
Committed 255824@main (b450166a796e): <https://commits.webkit.org/255824@main>
Reviewed commits have been landed. Closing PR #5621 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/101426452>