Hints, tips and tricks for newbies
Moderators: JRL, Dorian (MJT support)
-
uniadv
- Junior Coder
- Posts: 29
- Joined: Tue Aug 04, 2020 2:16 am
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
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
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.