mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:27:44 +00:00
WebDriver+Browser: Implement GET /session/{id}/window/rect
This commit is contained in:
parent
7561308af1
commit
dac91c5790
8 changed files with 49 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
#include <AK/URL.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibGfx/Rect.h>
|
||||
#include <LibWeb/Cookie/Cookie.h>
|
||||
#include <LibWeb/Cookie/ParsedCookie.h>
|
||||
|
||||
|
@ -12,6 +13,7 @@ endpoint WebDriverSessionClient {
|
|||
refresh() =|
|
||||
back() =|
|
||||
forward() =|
|
||||
get_window_rect() => (Gfx::IntRect rect)
|
||||
get_all_cookies() => (Vector<Web::Cookie::Cookie> cookies)
|
||||
get_named_cookie(String name) => (Optional<Web::Cookie::Cookie> cookie)
|
||||
add_cookie(Web::Cookie::ParsedCookie cookie) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue