From 2d61cc497f21c0e86b39f3ea7064d625c6972246 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Mon, 6 Nov 2023 15:08:10 +0100 Subject: [PATCH] fix rename --- src/browser.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser.rs b/src/browser.rs index 46a1fd8f..777ab0da 100644 --- a/src/browser.rs +++ b/src/browser.rs @@ -78,8 +78,8 @@ impl Browser { /// Connect to an already running chromium instance via the given URL. /// /// If the URL is a http(s) URL, it will first attempt to retrieve the Websocket URL from the `json/version` endpoint. - pub async fn connect(debug_ws_url: impl Into) -> Result<(Self, Handler)> { - let mut debug_ws_url = debug_url.into(); + pub async fn connect(url: impl Into) -> Result<(Self, Handler)> { + let mut debug_ws_url = url.into(); if debug_ws_url.starts_with("http") { match reqwest::Client::new()