Click here to Skip to main content
16,022,238 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My selenium test logins into a website. For further actions which are dependent on the login, I wrote the tests differently but have to login each time. I want that if I run login test once, it stays logged in for other tests without logging each time.

What I have tried:

I have tried using Cookies by saving cookies in first run (login) and loading them in other runs.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900