From 09dd6da0e0ca7fb1523d434a4e6d6d0443035b6a Mon Sep 17 00:00:00 2001 From: 4rumprom <84041172+4rumprom@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:27:43 -0400 Subject: [PATCH] Update authentication.py --- schwab_api/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schwab_api/authentication.py b/schwab_api/authentication.py index 071e6c8..3f57c67 100644 --- a/schwab_api/authentication.py +++ b/schwab_api/authentication.py @@ -93,7 +93,7 @@ async def _async_login(self, username, password, totp_secret=None): try: await self.page.frame(name=login_frame).press("[placeholder=\"Password\"]", "Enter") - await self.page.wait_for_url(re.compile(r"app/trade"), wait_until="domcontentloaded") # Making it more robust than specigying an exact url which may change. + await self.page.wait_for_url(re.compile(r"app/trade"), wait_until="domcontentloaded") # Making it more robust than specifying an exact url which may change. except TimeoutError: raise Exception("Login was not successful; please check username and password")