mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +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
|
@ -26,6 +26,7 @@ endpoint WebDriverClient {
|
|||
execute_async_script(JsonValue payload) => (Web::WebDriver::Response response)
|
||||
get_all_cookies() => (Web::WebDriver::Response response)
|
||||
get_named_cookie(String name) => (Web::WebDriver::Response response)
|
||||
add_cookie(JsonValue payload) => (Web::WebDriver::Response response)
|
||||
take_screenshot() => (Web::WebDriver::Response response)
|
||||
take_element_screenshot(String element_id) => (Web::WebDriver::Response response)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue