mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-05 01:42:54 +00:00
WebContent+WebDriver: Implement POST /session/{id}/window
endpoint
This commit is contained in:
parent
b04cf15b3e
commit
88ecc4a1e5
Notes:
sideshowbarker
2024-07-17 03:44:32 +09:00
Author: https://github.com/Tyrubias 🔰
Commit: 88ecc4a1e5
Pull-request: https://github.com/SerenityOS/serenity/pull/16060
Reviewed-by: https://github.com/TobyAsE
Reviewed-by: https://github.com/linusg
Reviewed-by: https://github.com/trflynn89 ✅
7 changed files with 44 additions and 0 deletions
|
@ -63,6 +63,7 @@ static constexpr auto s_webdriver_endpoints = Array {
|
|||
ROUTE(GET, "/session/:session_id/title"sv, get_title),
|
||||
ROUTE(GET, "/session/:session_id/window"sv, get_window_handle),
|
||||
ROUTE(DELETE, "/session/:session_id/window"sv, close_window),
|
||||
ROUTE(POST, "/session/:session_id/window"sv, switch_to_window),
|
||||
ROUTE(GET, "/session/:session_id/window/handles"sv, get_window_handles),
|
||||
ROUTE(GET, "/session/:session_id/window/rect"sv, get_window_rect),
|
||||
ROUTE(POST, "/session/:session_id/window/rect"sv, set_window_rect),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue