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

Recycling cookies after first time #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angelobpool
Copy link

Raw way of saving some time and steps after first use.
Save cookies before and after "extractCookies" function, so the next time they can be loaded on page session instead of repeating all login steps. And can be used directly in other steps without going through "extractCookies" each time.

Feel free to edit any of my work, or not merge it at all if you feel that this isn't a good improvement.
Not yet tested the behaviour if the cookie expires, and what to do in that case.

Tested and discarded the option of using an user-data folder when launching chromium, because it has issues when working headless, and because it saves a lot of other useless data other than cookies.

Raw way of saving some time and steps after first use.
Save cookies before and after "extractCookies" function, so the next time they can be loaded on page session instead of repeating all login steps. And can be used directly in other steps without going through "extractCookies" each time.
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

Successfully merging this pull request may close these issues.

1 participant