mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
LibWebView+WebContent: Add an IPC to scroll an element into view
Note that even though there is no response, this IPC has to be synchronous to allow all scroll events to trigger before returning to the calling WebDriver process.
This commit is contained in:
parent
3510fbbea8
commit
424e80ee75
5 changed files with 28 additions and 0 deletions
|
@ -65,6 +65,7 @@ public:
|
|||
|
||||
Optional<i32> get_document_element();
|
||||
Optional<Vector<i32>> query_selector_all(i32 start_node_id, String const& selector);
|
||||
void scroll_element_into_view(i32 element_id);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue