Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

self.page.wait_for_load_state('networkidle') Causing Login Failure #13

Closed
kimardenmiller opened this issue Oct 26, 2022 · 2 comments
Closed

Comments

@kimardenmiller
Copy link

Seems Schwab may have made a change about a month ago causing all instances of a wait for networkidle load state to fail. I've solved it in my own code by simply removing all self.page.wait_for_load_state('networkidle') lines, as they don't seem to be needed and it seems Playwright suggests the same generally.

@victorfaria87
Copy link

Hey Kim,
I had the same longing issue, but your solution isn’t working for me.
With "Headless=False", Disabled the Synematic two step verification and manually added webkit browser to trusted browsers.
I am now able to login without any issue(changed the login script to just log in), but then can’t perform any other operations.
do you know if am going in the wrong directions here?

@itsjafer
Copy link
Owner

itsjafer commented Apr 2, 2023

I've gone ahead and removed the wait for networkidle. I was able to confirm that login was failing before the change and working after the change. schwab-api 0.2.3 should contain the fix

@itsjafer itsjafer closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants