[Webkit-unassigned] [Bug 180187] New: WebDriver: locator strategy should be validated before trying to find elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 30 03:17:24 PST 2017


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

            Bug ID: 180187
           Summary: WebDriver: locator strategy should be validated before
                    trying to find elements
           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: cgarcia at igalia.com
                CC: bburg at apple.com, clopez at igalia.com

We currently rely on the js atom to raise an exception in case the locator strategy is not valid, but in case of find element from element, if the element doesn't exist we fail with stale element error instead of invalid argument as expected. So, let's validate the strategies when parsing them, which would also avoid going to the browser in cae of invalid strategy.

-- 
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/20171130/3ca6b548/attachment.html>


More information about the webkit-unassigned mailing list