1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

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

This commit is contained in:
Timothy Flynn 2022-11-03 13:30:11 -04:00 committed by Linus Groh
parent 9564f04fa6
commit 683c99f299
5 changed files with 31 additions and 0 deletions

View file

@ -49,6 +49,7 @@ endpoint WebContentServer
get_element_text(i32 element_id) => (String text)
get_element_tag_name(i32 element_id) => (String tag_name)
get_element_rect(i32 element_id) => (Gfx::IntRect rect)
is_element_enabled(i32 element_id) => (bool enabled)
webdriver_execute_script(String body, Vector<String> json_arguments, Optional<u64> timeout, bool async) => (Web::WebDriver::ExecuteScriptResultType result_type, String json_result)