1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 10:18:13 +00:00

WebContent+WebDriver: Ensure Get Window Handle checks for closed BCs

This commit is contained in:
Timothy Flynn 2023-03-07 11:29:14 -05:00 committed by Linus Groh
parent 010be9b7c2
commit 0524bc1d13
4 changed files with 13 additions and 2 deletions

View file

@ -93,7 +93,9 @@ private:
virtual Messages::WebDriverClient::TakeElementScreenshotResponse take_element_screenshot(String const& element_id) override;
virtual Messages::WebDriverClient::PrintPageResponse print_page() override;
virtual Messages::WebDriverClient::EnsureTopLevelBrowsingContextIsOpenResponse ensure_top_level_browsing_context_is_open() override;
ErrorOr<void, Web::WebDriver::Error> ensure_open_top_level_browsing_context();
ErrorOr<void, Web::WebDriver::Error> handle_any_user_prompts();
void restore_the_window();
Gfx::IntRect maximize_the_window();