diff options
author | Tobias Christiansen <tobyase@serenityos.org> | 2022-10-19 22:31:48 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-10-19 22:34:10 +0200 |
commit | 92fd97ed6332a528b2d0c3db2635f121e27608ea (patch) | |
tree | bcac251a1cbd118ea1fedec46201f954d1bb7f94 /Userland/Services | |
parent | e87456e38ff2d0a699da692572e6a96cc46d681d (diff) | |
download | serenity-92fd97ed6332a528b2d0c3db2635f121e27608ea.zip |
WebDriver: Fix old current_window style
Diffstat (limited to 'Userland/Services')
-rw-r--r-- | Userland/Services/WebDriver/Session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebDriver/Session.cpp b/Userland/Services/WebDriver/Session.cpp index e61f79d86c..b854b5bc12 100644 --- a/Userland/Services/WebDriver/Session.cpp +++ b/Userland/Services/WebDriver/Session.cpp @@ -667,7 +667,7 @@ ErrorOr<JsonValue, HttpError> Session::get_element_attribute(JsonValue const&, S ErrorOr<JsonValue, HttpError> Session::get_element_property(JsonValue const&, StringView parameter_element_id, StringView name) { // 1. If the current browsing context is no longer open, return error with error code no such window. - auto current_window = get_window_object(); + auto current_window = this->current_window(); if (!current_window.has_value()) return HttpError { 404, "no such window", "Window not found" }; |