LibWeb: Begin implementing the Element Send Keys endpoint

This commit is contained in:
Timothy Flynn 2024-10-10 20:44:01 -04:00 committed by Andreas Kling
commit 23d134708c
Notes: github-actions[bot] 2024-10-11 07:10:13 +00:00
8 changed files with 349 additions and 127 deletions

View file

@ -23,7 +23,10 @@ ByteString extract_web_element_reference(JsonObject const&);
bool represents_a_web_element(JsonValue const& value);
ErrorOr<JS::NonnullGCPtr<Web::DOM::Element>, Web::WebDriver::Error> get_web_element_origin(StringView origin);
ErrorOr<Web::DOM::Element*, Web::WebDriver::Error> get_known_connected_element(StringView element_id);
bool is_element_stale(Web::DOM::Node const& element);
bool is_element_keyboard_interactable(Web::DOM::Element const&);
bool is_element_non_typeable_form_control(Web::DOM::Element const&);
ByteString get_or_create_a_shadow_root_reference(Web::DOM::ShadowRoot const& shadow_root);
JsonObject shadow_root_reference_object(Web::DOM::ShadowRoot const& shadow_root);