summaryrefslogtreecommitdiff
path: root/src/browser/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/browser/mod.rs')
-rw-r--r--src/browser/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/browser/mod.rs b/src/browser/mod.rs
index 528849d..9b36c94 100644
--- a/src/browser/mod.rs
+++ b/src/browser/mod.rs
@@ -8,9 +8,9 @@ mod web_browser;
/// Create a new instance of `Browser` and associate it with the static variable `WEB_BROWSER`.
/// This is an unsecure type of usage, so the block is inside the `unsafe` block
-pub async fn init(driver_url: &String) {
+pub async fn init(config: &Config) {
unsafe {
- WEB_BROWSER = Some(Browser::new(driver_url).await);
+ WEB_BROWSER = Some(Browser::new(config).await);
}
}