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
commit 02a2018ec4
Notes: sideshowbarker 2024-07-17 04:00:53 +09:00
7 changed files with 23 additions and 0 deletions

View file

@ -88,6 +88,7 @@ private:
virtual Messages::WebDriverClient::SendAlertTextResponse send_alert_text(JsonValue const& payload) override;
virtual Messages::WebDriverClient::TakeScreenshotResponse take_screenshot() override;
virtual Messages::WebDriverClient::TakeElementScreenshotResponse take_element_screenshot(String const& element_id) override;
virtual Messages::WebDriverClient::PrintPageResponse print_page() override;
ErrorOr<void, Web::WebDriver::Error> ensure_open_top_level_browsing_context();
ErrorOr<void, Web::WebDriver::Error> handle_any_user_prompts();