WebDriver: Implement POST /session/{id}/element/{id}/element

This commit is contained in:
Tobias Christiansen 2022-10-19 13:51:34 +02:00 committed by Linus Groh
commit d26bbcab42
Notes: sideshowbarker 2024-07-17 09:48:50 +09:00
4 changed files with 74 additions and 0 deletions

View file

@ -45,6 +45,7 @@ public:
ErrorOr<JsonValue, HttpError> get_title();
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);
ErrorOr<void, Variant<HttpError, Error>> close_window();
ErrorOr<JsonValue, HttpError> get_all_cookies();
ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name);