mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:07:34 +00:00
WebContent+WebDriver: Fully implement closing a session
There were a couple steps missing to close the remote end. Further, we were not removing the session from the list of active sessions.
This commit is contained in:
parent
3ba6b5a7cb
commit
cc78a74c51
7 changed files with 47 additions and 8 deletions
|
@ -91,6 +91,7 @@ private:
|
|||
Web::WebDriver::Response handle_take_element_screenshot(Vector<StringView> const&, JsonValue const& payload);
|
||||
|
||||
ErrorOr<Session*, Web::WebDriver::Error> find_session_with_id(StringView session_id);
|
||||
ErrorOr<NonnullOwnPtr<Session>, Web::WebDriver::Error> take_session_with_id(StringView session_id);
|
||||
JsonValue make_json_value(JsonValue const&);
|
||||
|
||||
template<typename T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue