Rayrun
← Back to Discord Forum

How to get all cookie from that site and print it out

jjj_jjjj_332posted in #help-playwright
Open in Discord
jjj_jjjj_332
jjj_jjjj_332

in python

This thread is trying to answer question "How to use Python to get all cookies from a site and use it for other tests to avoid repeated logins?"

2 replies

I use page.context.storage_state() to pull the session information to use on other tests so login is not needed over and over again.

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].