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

WebDriver+Browser: Implement POST /session/{id}/window/maximize

This commit is contained in:
Timothy Flynn 2022-11-02 09:44:43 -04:00 committed by Linus Groh
parent 174248678e
commit 89b2ff72f7
7 changed files with 43 additions and 0 deletions

View file

@ -52,6 +52,7 @@ public:
ErrorOr<JsonValue, WebDriverError> get_window_handles() const;
ErrorOr<JsonValue, WebDriverError> get_window_rect();
ErrorOr<JsonValue, WebDriverError> set_window_rect(JsonValue const& payload);
ErrorOr<JsonValue, WebDriverError> maximize_window();
ErrorOr<JsonValue, WebDriverError> find_element(JsonValue const& payload);
ErrorOr<JsonValue, WebDriverError> find_elements(JsonValue const& payload);
ErrorOr<JsonValue, WebDriverError> find_element_from_element(JsonValue const& payload, StringView parameter_element_id);