summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2022-10-19 19:53:13 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-19 21:11:37 +0200
commit04ae4b89a383ebabffbe6fb152175be5744b96e1 (patch)
tree99ac6df1ad3f215683fc7ed484f73c810ef6408b /Userland/Services
parent7cb9b85c25b005efdeeda8d35e06d6e19a059a67 (diff)
downloadserenity-04ae4b89a383ebabffbe6fb152175be5744b96e1.zip
WebDriver: Fix Session::close_window() declaration order
Diffstat (limited to 'Userland/Services')
-rw-r--r--Userland/Services/WebDriver/Session.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebDriver/Session.h b/Userland/Services/WebDriver/Session.h
index 002fb7ef41..a35b7981c7 100644
--- a/Userland/Services/WebDriver/Session.h
+++ b/Userland/Services/WebDriver/Session.h
@@ -47,12 +47,12 @@ public:
ErrorOr<JsonValue, HttpError> refresh();
ErrorOr<JsonValue, HttpError> get_title();
ErrorOr<JsonValue, HttpError> get_window_handle();
+ ErrorOr<void, Variant<HttpError, Error>> close_window();
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<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);
ErrorOr<JsonValue, HttpError> add_cookie(JsonValue const& payload);