1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 11:25:07 +00:00
serenity/Userland/Applications/Browser/WebDriverSessionClient.ipc
Timothy Flynn a3d6c2f6af Browser+WebContent+WebDriver: Move Get Named Cookie to WebContent
Instead of sending *all* cookies over IPC and filtering by name, we now
filter by name from the cookie jar and send just the first matching
cookie.
2022-11-11 18:02:04 +00:00

24 lines
704 B
Text

#include <AK/URL.h>
#include <AK/Vector.h>
#include <LibGfx/Point.h>
#include <LibGfx/Rect.h>
#include <LibGfx/ShareableBitmap.h>
#include <LibGfx/Size.h>
#include <LibWeb/Cookie/Cookie.h>
#include <LibWeb/Cookie/ParsedCookie.h>
#include <LibWeb/WebDriver/ExecuteScript.h>
// FIXME: This isn't used here, but the generated IPC fails to compile without this include.
#include <LibWeb/WebDriver/Response.h>
endpoint WebDriverSessionClient {
quit() =|
get_title() => (String title)
refresh() =|
back() =|
forward() =|
get_all_cookies() => (Vector<Web::Cookie::Cookie> cookies)
add_cookie(Web::Cookie::ParsedCookie cookie) =|
update_cookie(Web::Cookie::Cookie cookie) =|
}