1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 17:35:08 +00:00

WebContent+Friends: Add get_element_attribute IPC and plumbing

This commit is contained in:
Tobias Christiansen 2022-10-19 16:56:08 +02:00 committed by Linus Groh
parent dfc3a4772b
commit 3f5a620b5d
7 changed files with 30 additions and 0 deletions

View file

@ -525,6 +525,11 @@ Optional<Vector<i32>> OutOfProcessWebView::query_selector_all(i32 start_node_id,
return client().query_selector_all(start_node_id, selector);
}
Optional<String> OutOfProcessWebView::get_element_attribute(i32 element_id, String const& name)
{
return client().get_element_attribute(element_id, name);
}
void OutOfProcessWebView::set_content_filters(Vector<String> filters)
{
client().async_set_content_filters(filters);