mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:57:35 +00:00
WebDriver: Implement stub for /session/{id}/print
This commit is contained in:
parent
a1c1ab5f8d
commit
02a2018ec4
7 changed files with 23 additions and 0 deletions
|
@ -1533,6 +1533,13 @@ Messages::WebDriverClient::TakeElementScreenshotResponse WebDriverConnection::ta
|
|||
return encoded_string;
|
||||
}
|
||||
|
||||
// 18.1 Print Page, https://w3c.github.io/webdriver/#dfn-print-page
|
||||
Messages::WebDriverClient::PrintPageResponse WebDriverConnection::print_page()
|
||||
{
|
||||
// FIXME: Actually implement this :^)
|
||||
return Web::WebDriver::Error::from_code(Web::WebDriver::ErrorCode::UnsupportedOperation, "Print not implemented"sv);
|
||||
}
|
||||
|
||||
// https://w3c.github.io/webdriver/#dfn-no-longer-open
|
||||
ErrorOr<void, Web::WebDriver::Error> WebDriverConnection::ensure_open_top_level_browsing_context()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue