mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
Browser+WebContent+WebDriver: Move Add Cookie to WebContent
The new implementation is made a bit simpler by way of TRY. It also implements setting the SameSite attribute.
This commit is contained in:
parent
fce9fcf154
commit
18abc6c85d
9 changed files with 86 additions and 137 deletions
|
@ -58,6 +58,7 @@ private:
|
|||
virtual Messages::WebDriverClient::ExecuteAsyncScriptResponse execute_async_script(JsonValue const& payload) override;
|
||||
virtual Messages::WebDriverClient::GetAllCookiesResponse get_all_cookies() override;
|
||||
virtual Messages::WebDriverClient::GetNamedCookieResponse get_named_cookie(String const& name) override;
|
||||
virtual Messages::WebDriverClient::AddCookieResponse add_cookie(JsonValue const& payload) override;
|
||||
virtual Messages::WebDriverClient::TakeScreenshotResponse take_screenshot() override;
|
||||
virtual Messages::WebDriverClient::TakeElementScreenshotResponse take_element_screenshot(String const& element_id) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue