[Webkit-unassigned] [Bug 180412] New: WebDriver: test imported/w3c/webdriver/tests/sessions/new_session/response.py::test_timeouts fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 5 03:09:33 PST 2017


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

            Bug ID: 180412
           Summary: WebDriver: test
                    imported/w3c/webdriver/tests/sessions/new_session/resp
                    onse.py::test_timeouts fails
           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

self = <webdriver.client.Session object at 0x7f13186b1950>, method = 'POST', url = 'session'
body = {'capabilities': {'alwaysMatch': {'timeouts': {'implicit': 1000}, 'webkitgtk:browserOptions': {'args': ['--automation'..., '--enable-xss-auditor=false'], 'binary': '/home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/MiniBrowser'}}}}

    def send_command(self, method, url, body=None):
        """
            Send a command to the remote end and validate its success.

            :param method: HTTP method to use in request.
            :param uri: "Command part" of the HTTP request URL,
                e.g. `window/rect`.
            :param body: Optional body of the HTTP request.

            :return: `None` if the HTTP response body was empty, otherwise
                the `value` field returned after parsing the response
                body as JSON.

            :raises ValueError: If the response body does not contain a
                `value` key.
            :raises error.WebDriverException: If the remote end returns
                an error.
            """
        response = self.transport.send(
            method, url, body,
            encoder=protocol.Encoder, decoder=protocol.Decoder,
            session=self)

        if response.status != 200:
>           raise error.from_response(response)
E           InvalidArgumentException: invalid argument (400): Invalid alwaysMatch capabilities

body       = {'capabilities': {'alwaysMatch': {'timeouts': {'implicit': 1000}, 'webkitgtk:browserOptions': {'args': ['--automation'..., '--enable-xss-auditor=false'], 'binary': '/home/cgarcia/src/git/gnome/WebKit/WebKitBuild/Release/bin/MiniBrowser'}}}}
method     = 'POST'
response   = <Response status=400 error=<InvalidArgumentException http_status=400>>
self       = <webdriver.client.Session object at 0x7f13186b1950>
url        = 'session'

-- 
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/20171205/f5375af0/attachment.html>


More information about the webkit-unassigned mailing list