Bug 230612

Summary: [WebDriver] Fix element references after tab switch or close
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bburg, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=230551

Description Carlos Garcia Campos 2021-09-22 05:31:31 PDT
We return stale element reference instead of no such element.

imported/w3c/webdriver/tests/element_clear/clear.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/element_click/click.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/element_send_keys/send_keys.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_attribute/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_css_value/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_property/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_rect/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_text/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/get_element_tag_name/get.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/is_element_enabled/enabled.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/is_element_selected/selected.py::test_no_top_browsing_context
imported/w3c/webdriver/tests/switch_to_window/switch.py::test_element_not_found_after_tab_switch
Comment 1 Radar WebKit Bug Importer 2021-09-29 05:32:16 PDT
<rdar://problem/83667452>