diff options
Diffstat (limited to 'Userland/Services/WebContent/WebContentServer.ipc')
-rw-r--r-- | Userland/Services/WebContent/WebContentServer.ipc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Services/WebContent/WebContentServer.ipc b/Userland/Services/WebContent/WebContentServer.ipc index 9302fd27be..cbd1830e4d 100644 --- a/Userland/Services/WebContent/WebContentServer.ipc +++ b/Userland/Services/WebContent/WebContentServer.ipc @@ -4,6 +4,7 @@ #include <LibGfx/ShareableBitmap.h> #include <LibWeb/CSS/PreferredColorScheme.h> #include <LibWeb/CSS/Selector.h> +#include <LibWeb/WebDriver/ExecuteScript.h> endpoint WebContentServer { @@ -46,6 +47,8 @@ endpoint WebContentServer get_element_text(i32 element_id) => (String text) get_element_tag_name(i32 element_id) => (String tag_name) + webdriver_execute_script(String body, Vector<String> json_arguments, Optional<u64> timeout, bool async) => (Web::WebDriver::ExecuteScriptResultType result_type, String json_result) + run_javascript(String js_source) =| dump_layout_tree() => (String dump) |