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

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

This commit is contained in:
Tobias Christiansen 2022-10-19 13:52:17 +02:00 committed by Linus Groh
parent d26bbcab42
commit e1fb64abad
4 changed files with 69 additions and 0 deletions

View file

@ -46,6 +46,7 @@ public:
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<JsonValue, HttpError> find_elements_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);