1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-26 01:35:08 +00:00
serenity/Userland/Applications/Browser/WebDriverSessionClient.ipc
Tobias Christiansen c710780852 Browser: Add update_cookie WebDriver IPC endpoint
Through this the WebDriver will be able to change cookies. Needed for
deleting cookies.
2022-10-17 11:31:30 +02:00

18 lines
451 B
Text

#include <AK/URL.h>
#include <AK/Vector.h>
#include <LibWeb/Cookie/Cookie.h>
endpoint WebDriverSessionClient {
quit() =|
get_url() => (URL url)
set_url(URL url) =|
get_title() => (String title)
refresh() =|
back() =|
forward() =|
get_all_cookies() => (Vector<Web::Cookie::Cookie> cookies)
get_named_cookie(String name) => (Optional<Web::Cookie::Cookie> cookie)
update_cookie(Web::Cookie::Cookie cookie) =|
}