WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
180403
WebDriver: test imported/w3c/webdriver/tests/interaction/send_keys_content_editable.py is failing
https://bugs.webkit.org/show_bug.cgi?id=180403
Summary
WebDriver: test imported/w3c/webdriver/tests/interaction/send_keys_content_ed...
Carlos Garcia Campos
Reported
2017-12-05 02:35:10 PST
All test fail with InvalidArgumentException self = <webdriver.client.Session object at 0x7f94cc6f3950>, method = 'POST', url = 'session/917f7e2a-8604-43d1-8a76-6ea6daeed0ae/element/node-6E106468-34D1-4742-B8E9-2CCDBCBB9F4F/value' body = {'text': ' world!'} 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): body = {'text': ' world!'} method = 'POST' response = <Response status=400 error=<InvalidArgumentException http_status=400>> self = <webdriver.client.Session object at 0x7f94cc6f3950> url = 'session/917f7e2a-8604-43d1-8a76-6ea6daeed0ae/element/node-6E106468-34D1-4742-B8E9-2CCDBCBB9F4F/value'
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug