mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
Browser+WebContent+WebDriver: Move Get/Set Window Rect to WebContent
This also lets us more fully implement the "restore the window" method, which requires we block until the document reaches the "visible" state.
This commit is contained in:
parent
9505928fdb
commit
b57d7e4332
10 changed files with 144 additions and 114 deletions
|
@ -58,8 +58,6 @@ public:
|
|||
Web::WebDriver::Response get_window_handle();
|
||||
ErrorOr<void, Variant<Web::WebDriver::Error, Error>> close_window();
|
||||
Web::WebDriver::Response get_window_handles() const;
|
||||
Web::WebDriver::Response get_window_rect();
|
||||
Web::WebDriver::Response set_window_rect(JsonValue const& payload);
|
||||
Web::WebDriver::Response maximize_window();
|
||||
Web::WebDriver::Response minimize_window();
|
||||
Web::WebDriver::Response find_element(JsonValue const& payload);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue