1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:07:47 +00:00

LibWebView+WebConent: Add an IPC to get an element's selected state

This commit is contained in:
Timothy Flynn 2022-11-03 17:04:24 -04:00 committed by Tim Flynn
parent d907fb304e
commit 4067138702
5 changed files with 31 additions and 0 deletions

View file

@ -65,6 +65,7 @@ public:
Optional<i32> get_document_element();
Optional<Vector<i32>> query_selector_all(i32 start_node_id, String const& selector);
bool is_element_selected(i32 element_id);
Optional<String> get_element_attribute(i32 element_id, String const& name);
Optional<String> get_element_property(i32 element_id, String const& name);
String get_active_documents_type();