mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibWebView+WebContent: Add an IPC to take an element screenshot
This commit is contained in:
parent
424e80ee75
commit
3c1c2994f1
5 changed files with 25 additions and 0 deletions
|
@ -52,6 +52,7 @@ endpoint WebContentServer
|
|||
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)
|
||||
take_element_screenshot(i32 element_id) => (Gfx::ShareableBitmap data)
|
||||
|
||||
webdriver_execute_script(String body, Vector<String> json_arguments, Optional<u64> timeout, bool async) => (Web::WebDriver::ExecuteScriptResultType result_type, String json_result)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue