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

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

This commit is contained in:
Tobias Christiansen 2022-10-19 13:21:38 +02:00 committed by Linus Groh
parent e6f71d5e05
commit 063bd663a7
4 changed files with 68 additions and 0 deletions

View file

@ -44,6 +44,7 @@ public:
ErrorOr<JsonValue, HttpError> refresh();
ErrorOr<JsonValue, HttpError> get_title();
ErrorOr<JsonValue, HttpError> find_element(JsonValue const& payload);
ErrorOr<JsonValue, HttpError> find_elements(JsonValue const& payload);
ErrorOr<void, Variant<HttpError, Error>> close_window();
ErrorOr<JsonValue, HttpError> get_all_cookies();
ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name);