mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:17:35 +00:00
WebContent: Remove WebContent::ConnectionFromClient from WebDriver
This commit is contained in:
parent
46b2cb308d
commit
0135a2ab5b
2 changed files with 5 additions and 8 deletions
|
@ -29,11 +29,11 @@ class WebDriverConnection final
|
|||
C_OBJECT(WebDriverConnection)
|
||||
|
||||
public:
|
||||
static ErrorOr<NonnullRefPtr<WebDriverConnection>> connect(ConnectionFromClient& web_content_client, Web::PageClient& page_client, String const& webdriver_ipc_path);
|
||||
static ErrorOr<NonnullRefPtr<WebDriverConnection>> connect(Web::PageClient& page_client, String const& webdriver_ipc_path);
|
||||
virtual ~WebDriverConnection() = default;
|
||||
|
||||
private:
|
||||
WebDriverConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, ConnectionFromClient& web_content_client, Web::PageClient& page_client);
|
||||
WebDriverConnection(NonnullOwnPtr<Core::Stream::LocalSocket> socket, Web::PageClient& page_client);
|
||||
|
||||
virtual void die() override { }
|
||||
|
||||
|
@ -105,7 +105,6 @@ private:
|
|||
ErrorOr<ScriptArguments, Web::WebDriver::Error> extract_the_script_arguments_from_a_request(JsonValue const& payload);
|
||||
void delete_cookies(Optional<StringView> const& name = {});
|
||||
|
||||
ConnectionFromClient& m_web_content_client;
|
||||
Web::PageClient& m_page_client;
|
||||
|
||||
// https://w3c.github.io/webdriver/#dfn-page-load-strategy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue