How to Stay Logged In When Using Selenium in the Chrome Browser

I have made a YouTube video with voiceover showing these steps here:

This tutorial I made on Windows, but you can apply this technique on any OS.


Selenium is often used for automated testing in the browser, but can be used for automating all kinds of things in the browser. If what you’re automating involves logging into an account, this shows how to load your login cookie so that when you launch the browser again, you will…