Skip to content

Commit 15a3d55

Browse files
adapt to new notion login page
1 parent ee9aea2 commit 15a3d55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

NotionWebsitePuppeteer.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ bool FirstLoginStep()
6868
Thread.Sleep(2500);
6969
// Login to GitHub
7070
Console.WriteLine("\tEntering credentials...");
71-
IWebElement loginInput = _driver.FindElement(By.Id("notion-email-input-2"));
71+
IWebElement loginInput = _driver.FindElement(By.Id("notion-email-input-1"));
7272
loginInput.SendKeys(_username);
7373

7474
IWebElement nextBtn = _driver.FindElement(By.XPath("//form//div[contains(text(), 'Continue')]"));
@@ -138,7 +138,7 @@ bool FirstLoginStep()
138138
Console.WriteLine("Trying password login...");
139139
try
140140
{
141-
IWebElement passInput = _driver.FindElement(By.Id("notion-password-input-1"));
141+
IWebElement passInput = _driver.FindElement(By.Id("notion-password-input-2"));
142142
passInput.SendKeys(_password);
143143

144144
Console.WriteLine("\tSending login...");

0 commit comments

Comments
 (0)