mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:47:35 +00:00
LibWebView+WebConent: Add an IPC to get an element's selected state
This commit is contained in:
parent
d907fb304e
commit
4067138702
5 changed files with 31 additions and 0 deletions
|
@ -42,6 +42,7 @@ endpoint WebContentServer
|
|||
|
||||
get_document_element() => (Optional<i32> node_id)
|
||||
query_selector_all(i32 start_node_id, String selector) => (Optional<Vector<i32>> elements_ids)
|
||||
is_element_selected(i32 element_id) => (bool selected)
|
||||
get_element_attribute(i32 element_id, String name) => (Optional<String> attribute)
|
||||
get_element_property(i32 element_id, String name) => (Optional<String> property)
|
||||
get_active_documents_type() => (String type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue