From 9f6d275620e29295a41bcca342ee0da531664721 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 29 Sep 2021 22:34:26 +0200 Subject: chore: save crendetials into the browser struct --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 6b85559..136db38 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,7 @@ async fn main() -> Result<(), Box> { unsafe { // Open the browser - browser::init(&config.driver_url).await; + browser::init(&config).await; // Login using the credentials inside the `config` match browser::login(&config).await { -- cgit v1.2.3-18-g5258