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

WebDriver+Browser: Implement GET /session/{id}/window/rect

This commit is contained in:
Timothy Flynn 2022-11-02 10:19:58 -04:00 committed by Linus Groh
parent 7561308af1
commit dac91c5790
8 changed files with 49 additions and 1 deletions

View file

@ -50,6 +50,7 @@ public:
ErrorOr<JsonValue, WebDriverError> get_window_handle();
ErrorOr<void, Variant<WebDriverError, Error>> close_window();
ErrorOr<JsonValue, WebDriverError> get_window_handles() const;
ErrorOr<JsonValue, WebDriverError> get_window_rect();
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);