diff options
author | Tobias Christiansen <tobyase@serenityos.org> | 2022-10-19 20:46:56 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-19 22:30:06 +0200 |
commit | e87456e38ff2d0a699da692572e6a96cc46d681d (patch) | |
tree | 81b03d56455d66679a155bf951d041cfb3a7d361 /Userland/Services/WebDriver/Session.h | |
parent | 3db92885cd7e28a098e268f5f85faae1a139fe20 (diff) | |
download | serenity-e87456e38ff2d0a699da692572e6a96cc46d681d.zip |
WebDriver: Implement `GET /session/{id}/element/{id}/property/{name}`
Diffstat (limited to 'Userland/Services/WebDriver/Session.h')
-rw-r--r-- | Userland/Services/WebDriver/Session.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebDriver/Session.h b/Userland/Services/WebDriver/Session.h index 90e6af7fc6..0d9a2c3e3b 100644 --- a/Userland/Services/WebDriver/Session.h +++ b/Userland/Services/WebDriver/Session.h @@ -54,6 +54,7 @@ public: 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<JsonValue, HttpError> get_element_attribute(JsonValue const& payload, StringView element_id, StringView name); + ErrorOr<JsonValue, HttpError> get_element_property(JsonValue const& payload, StringView element_id, StringView name); ErrorOr<JsonValue, HttpError> get_all_cookies(); ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name); ErrorOr<JsonValue, HttpError> add_cookie(JsonValue const& payload); |