Skip to content

Commit

Permalink
Merge pull request #389 from NelsonDane/deepsource-transform-62be4e63
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane authored Sep 27, 2024
2 parents e869cd2 + 9c63083 commit 5ac49d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fidelityAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def login(self, username: str, password: str, totp_secret: str = None) -> bool:
self.page.goto(
"https://digital.fidelity.com/prgw/digital/login/full-page",
timeout=60000,
)
)

# Login page
self.page.get_by_label("Username", exact=True).click()
Expand All @@ -131,7 +131,7 @@ def login(self, username: str, password: str, totp_secret: str = None) -> bool:
self.page.wait_for_url(
"https://digital.fidelity.com/ftgw/digital/portfolio/summary",
timeout=30000,
)
)
# Got to the summary page, return True
return (True, True)
except PlaywrightTimeoutError:
Expand Down

0 comments on commit 5ac49d2

Please sign in to comment.