1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:27:35 +00:00

WebContent+WebDriver: Move Find Element From Element to WebContent

This commit is contained in:
Timothy Flynn 2022-11-09 15:18:28 -05:00 committed by Linus Groh
parent 6dca784fc4
commit 5a750dc58c
6 changed files with 55 additions and 52 deletions

View file

@ -41,6 +41,7 @@ private:
virtual Messages::WebDriverClient::MinimizeWindowResponse minimize_window() override;
virtual Messages::WebDriverClient::FindElementResponse find_element(JsonValue const& payload) override;
virtual Messages::WebDriverClient::FindElementsResponse find_elements(JsonValue const& payload) override;
virtual Messages::WebDriverClient::FindElementFromElementResponse find_element_from_element(JsonValue const& payload, String const& element_id) override;
ErrorOr<void, Web::WebDriver::Error> ensure_open_top_level_browsing_context();
void restore_the_window();