Skip to content

Commit

Permalink
fix rename
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsse committed Nov 6, 2023
1 parent ad4334c commit 2d61cc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>) -> Result<(Self, Handler)> {
let mut debug_ws_url = debug_url.into();
pub async fn connect(url: impl Into<String>) -> Result<(Self, Handler)> {
let mut debug_ws_url = url.into();

if debug_ws_url.starts_with("http") {
match reqwest::Client::new()
Expand Down

0 comments on commit 2d61cc4

Please sign in to comment.