mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:58:12 +00:00
Browser+WebContent+WebDriver: Move Take Element Screenshot to WebContent
This commit is contained in:
parent
de1e882601
commit
ea0561a0b3
15 changed files with 51 additions and 185 deletions
|
@ -63,8 +63,6 @@ public:
|
|||
OrderedHashMap<String, String> get_local_storage_entries();
|
||||
OrderedHashMap<String, String> get_session_storage_entries();
|
||||
|
||||
void scroll_element_into_view(i32 element_id);
|
||||
|
||||
void set_content_filters(Vector<String>);
|
||||
void set_proxy_mappings(Vector<String> proxies, HashMap<String, size_t> mappings);
|
||||
void set_preferred_color_scheme(Web::CSS::PreferredColorScheme);
|
||||
|
@ -76,7 +74,6 @@ public:
|
|||
void set_system_visibility_state(bool visible);
|
||||
|
||||
Gfx::ShareableBitmap take_screenshot() const;
|
||||
Gfx::ShareableBitmap take_element_screenshot(i32 element_id);
|
||||
Gfx::ShareableBitmap take_document_screenshot();
|
||||
|
||||
Messages::WebContentServer::WebdriverExecuteScriptResponse webdriver_execute_script(String const& body, Vector<String> const& json_arguments, Optional<u64> const& timeout, bool async);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue