Skip to content

Commit

Permalink
fix login url
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Jan 23, 2025
1 parent f11b2b6 commit db00a93
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions NotionWebsitePuppeteer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ void TryLoginWithLink()

}

Console.WriteLine("Logging in using URL...");
_driver.Navigate().GoToUrl(loginUrl);
Console.WriteLine("Logging in using URL in 30sec...");
Thread.Sleep(30000);
string cleanedUrl = loginUrl.Replace("https://","https").Replace("&", "&").Replace(":", "%3A").Replace("https","https://");
_driver.Navigate().GoToUrl(cleanedUrl);
Thread.Sleep(5000);
}

Expand Down

0 comments on commit db00a93

Please sign in to comment.