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

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
parent 063bd663a7
commit d26bbcab42
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);