summaryrefslogtreecommitdiff
path: root/Userland/Services/WebDriver/Session.h
diff options
context:
space:
mode:
authorTobias Christiansen <tobyase@serenityos.org>2022-10-19 16:58:14 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-19 17:30:58 +0200
commit249350a7a31b332911a40050d3f08d99b9bc1dc7 (patch)
tree58df0f12e51e51acd33dd9375d8f7845c3434cf7 /Userland/Services/WebDriver/Session.h
parent3f5a620b5d0e90e548c2854905ed656b34002ca5 (diff)
downloadserenity-249350a7a31b332911a40050d3f08d99b9bc1dc7.zip
WebDriver: Implement `GET /session/{id}/element/{id}/attribute/{name}`
Diffstat (limited to 'Userland/Services/WebDriver/Session.h')
-rw-r--r--Userland/Services/WebDriver/Session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Services/WebDriver/Session.h b/Userland/Services/WebDriver/Session.h
index 1d4e53ef68..84ef798e7f 100644
--- a/Userland/Services/WebDriver/Session.h
+++ b/Userland/Services/WebDriver/Session.h
@@ -47,6 +47,7 @@ public:
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<JsonValue, HttpError> get_element_attribute(JsonValue const& payload, StringView element_id, StringView name);
ErrorOr<void, Variant<HttpError, Error>> close_window();
ErrorOr<JsonValue, HttpError> get_all_cookies();
ErrorOr<JsonValue, HttpError> get_named_cookie(String const& name);