mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-12 12:32:21 +00:00
WebDriver: Implement GET /session/{session id}/window/handles
endpoint
This commit is contained in:
parent
91cec51b99
commit
6641c99c80
Notes:
sideshowbarker
2024-07-17 05:19:22 +09:00
Author: https://github.com/linusg
Commit: 6641c99c80
Pull-request: https://github.com/SerenityOS/serenity/pull/15704
Reviewed-by: https://github.com/TobyAsE ✅
4 changed files with 29 additions and 2 deletions
|
@ -48,6 +48,7 @@ public:
|
|||
ErrorOr<JsonValue, HttpError> get_title();
|
||||
ErrorOr<JsonValue, HttpError> get_window_handle();
|
||||
ErrorOr<void, Variant<HttpError, Error>> close_window();
|
||||
ErrorOr<JsonValue, HttpError> get_window_handles() const;
|
||||
ErrorOr<JsonValue, HttpError> find_element(JsonValue const& payload);
|
||||
ErrorOr<JsonValue, HttpError> find_elements(JsonValue const& payload);
|
||||
ErrorOr<JsonValue, HttpError> find_element_from_element(JsonValue const& payload, StringView parameter_element_id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue