1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:18:12 +00:00

WebDriver: Implement stub for /session/{id}/print

This commit is contained in:
Baitinq 2022-11-27 00:30:03 +01:00 committed by Linus Groh
parent a1c1ab5f8d
commit 02a2018ec4
7 changed files with 23 additions and 0 deletions

View file

@ -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