mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
WebDriver+Browser: Implement GET /session/{id}/element/{id}/screenshot
This commit is contained in:
parent
3c1c2994f1
commit
b0eb45f7c7
9 changed files with 79 additions and 0 deletions
|
@ -76,6 +76,7 @@ public:
|
|||
ErrorOr<JsonValue, WebDriverError> delete_cookie(StringView name);
|
||||
ErrorOr<JsonValue, WebDriverError> delete_all_cookies();
|
||||
ErrorOr<JsonValue, WebDriverError> take_screenshot();
|
||||
ErrorOr<JsonValue, WebDriverError> take_element_screenshot(StringView element_id);
|
||||
|
||||
private:
|
||||
void delete_cookies(Optional<StringView> const& name = {});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue