How to identify multiple Chrome browser instances
Hi,
I need to automate/simulate multiple users (3 and more) logging in to their accounts of an instant messaging website and communicate with one another. We have to use Chrome browser for all users.
Here's a sample site: iceim.theice.com
I realized that, for example, if userA logs into his account using a default Chrome browser, any subsequently opened browser, when navigated to the above site, will automatically load userA's session.
I could open an incognito Chrome window, which will let userB login. But this only allows 2 user sessions, I can not use another incognito window to let userC login.
I have found a way by using a Chrome option to make multiple (3+) user login sessions available:
chrome.exe --user-data-dir="C:\temp\user1"
chrome.exe --user-data-dir="C:\temp\user2"
chrome.exe --user-data-dir="C:\temp\user3"
...
My question is: How to identify different Chrome browser instances?
Again, only Chrome can be used, and all users login to the same web site.
I would appreciate if someone could provide some VBScript sample.
I searched the community forums but couldn't find any useful information.
Thanks a lot.