aboutsummaryrefslogtreecommitdiff
path: root/src/client.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.ts')
-rw-r--r--src/client.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client.ts b/src/client.ts
index 84a98ee..5367489 100644
--- a/src/client.ts
+++ b/src/client.ts
@@ -140,12 +140,9 @@ export const createBrowserClient = (opts: BrowserClientOptions): BrowserClient =
const start = async (): Promise<Result<void, CdpError>> => {
if (transport.state() === "open" && session.current()) return ok(undefined);
- const envUrl = process.env["BU_CDP_WS"];
let wsUrl: string;
if (remote?.cdpUrl) {
wsUrl = remote.cdpUrl;
- } else if (envUrl) {
- wsUrl = envUrl;
} else {
const discovered = await discoverEndpoint();
if (!discovered.success) return discovered;