diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-03-07 07:36:45 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-07 18:16:35 +0000 |
commit | 0ae015e2663c080d5303a8f88a502bc8238068f2 (patch) | |
tree | 2f5c61761c80175be0576249c7dfe0a0de3a59e3 /Userland | |
parent | 5c117cdcec640b2149a98916a4bc1118e6f59c83 (diff) | |
download | serenity-0ae015e2663c080d5303a8f88a502bc8238068f2.zip |
WebDriver: Do not ignore the result of closing a session
Diffstat (limited to 'Userland')
-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 408e858f8b..ba89a6b0f9 100644 --- a/Userland/Services/WebDriver/Session.cpp +++ b/Userland/Services/WebDriver/Session.cpp @@ -123,7 +123,7 @@ Web::WebDriver::Response Session::close_window() // 4. If there are no more open top-level browsing contexts, then close the session. if (m_windows.is_empty()) - stop(); + TRY(stop()); // 5. Return the result of running the remote end steps for the Get Window Handles command. return get_window_handles(); |