[Webkit-unassigned] [Bug 246813] New: [WebDriver] Support "Get Computed Role" command

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 20 10:06:54 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=246813

            Bug ID: 246813
           Summary: [WebDriver] Support "Get Computed Role" command
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: lmoura at igalia.com
                CC: bburg at apple.com

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/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221020/b3b97502/attachment.htm>


More information about the webkit-unassigned mailing list