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

Use cookies for authentication #82

Open
hongfeiyang opened this issue Mar 8, 2024 · 1 comment
Open

Use cookies for authentication #82

hongfeiyang opened this issue Mar 8, 2024 · 1 comment

Comments

@hongfeiyang
Copy link

Is it possible to save a copy of the cookies and inject it to chrome driver whenever a new chrome instance gets launched ?
Having to type in password everytime, espicially having to pass a 2FA in some cases is just too tedious.

@soraxas
Copy link
Owner

soraxas commented Mar 8, 2024

Yes definitely possible; you can store cookies and add cookies (in subsequent session) with selenium: https://www.selenium.dev/documentation/webdriver/interactions/cookies/

I'm happy to accept PR, but I'm not using this module so I won't be working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants