Skip to content

Commit

Permalink
Fixed issue where login would fail
Browse files Browse the repository at this point in the history
  • Loading branch information
mario872 committed Apr 4, 2024
1 parent afac94b commit 4b71a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentralify/scrapers.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def login(self, browser):

page.get_by_placeholder("Enter your password").fill(self.config['password'])
page.get_by_role("button", name="Sign in").click()
page.get_by_role("button", name="No").click()
page.get_by_role("button", name="Yes").click()

try: # We expect that we will be logged into Sentral by now
expect(page).to_have_title(re.compile(f"Portal - {self.config['username'].split('.')[0].capitalize()}", re.IGNORECASE), timeout=3000)
Expand Down

0 comments on commit 4b71a38

Please sign in to comment.