Skip to content

Commit

Permalink
add wait period for login
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed Aug 26, 2024
1 parent cf5039d commit 27434ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions HackMdApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ private void GrabSessionCookie()
// Navigate to Notes GitHub auth
driver.Navigate().GoToUrl($"https://{HackMdHost}/auth/github");

Thread.Sleep(10000);

// Login to GitHub
Console.WriteLine("\tEntering credentials...");
IWebElement loginInput = driver.FindElement(By.Id("login_field"));
Expand Down

0 comments on commit 27434ce

Please sign in to comment.