Always keep logged in to the account in chrome browser every time i run the script

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
uniadv
Junior Coder
Posts: 22
Joined: Tue Aug 04, 2020 2:16 am

Always keep logged in to the account in chrome browser every time i run the script

Post by uniadv » Sun Sep 27, 2020 12:48 pm

Hi,
I run the script several times in a day and each time the script has to login to the certain accounts. Is there any way keep login in the chrome browser so the MS doesn't have to run the login script everytime? :?:

Any reference would also help.

Regards
Ushahra

User avatar
Marcus Tettmar
Site Admin
Posts: 7272
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Always keep logged in to the account in chrome browser every time i run the script

Post by Marcus Tettmar » Mon Sep 28, 2020 7:32 am

Are you using the Chrome functions? If so try having your macro keep the chrome window open (don’t call ChromeQuit at the end) and store the session ID in a file/Ini/registry for later use. As long as chrome and ChromeDriver are left running and you hang on to the session ID you should be good to go.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts