Bug 203945

Summary: WebDriver: correctly handle errors when focusing element before sending key events
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, clopez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 188545    
Attachments:
Description Flags
Patch clopez: review+

Description Carlos Garcia Campos 2019-11-07 01:29:55 PST
We are throwing an exception that is not correctly handled. This causes the following tests to fail:

imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_not_a_focusable_element
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_display_none
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_visibility_hidden
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_hidden
imported/w3c/webdriver/tests/element_send_keys/interactability.py::test_disabled
Comment 1 Carlos Garcia Campos 2019-11-07 01:33:58 PST
Created attachment 383031 [details]
Patch
Comment 2 Carlos Garcia Campos 2019-11-07 04:09:19 PST
Committed r252180: <https://trac.webkit.org/changeset/252180>
Comment 3 Radar WebKit Bug Importer 2019-11-07 04:10:18 PST
<rdar://problem/56978468>