mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
WebDriver: Implement stub for /session/{id}/print
This commit is contained in:
parent
a1c1ab5f8d
commit
02a2018ec4
Notes:
sideshowbarker
2024-07-17 04:00:53 +09:00
Author: https://github.com/Baitinq
Commit: 02a2018ec4
Pull-request: https://github.com/SerenityOS/serenity/pull/16216
Reviewed-by: https://github.com/linusg
7 changed files with 23 additions and 0 deletions
|
@ -99,6 +99,7 @@ static constexpr auto s_webdriver_endpoints = Array {
|
|||
ROUTE(POST, "/session/:session_id/alert/text"sv, send_alert_text),
|
||||
ROUTE(GET, "/session/:session_id/screenshot"sv, take_screenshot),
|
||||
ROUTE(GET, "/session/:session_id/element/:element_id/screenshot"sv, take_element_screenshot),
|
||||
ROUTE(POST, "/session/:session_id/print"sv, print_page),
|
||||
};
|
||||
|
||||
// https://w3c.github.io/webdriver/#dfn-match-a-request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue