Running multiple Selenium Chrome Profile at the same time


#1

I would like to run multiple Selenium Chrome Portable Profile at the same time.

And using Navigate().GoToUrl(“http://www.somesite.com”);

But The first profile window is open and goto that url, the second profile browser window open but not go to that url,… and show error:

ChromeDriver driver = new ChromeDriver(service, options);

OpenQA.Selenium.WebDriverException: 'unknown error: Chrome failed to start: exited normally (unknown error: DevToolsActivePort file doesn’t exist) (The process started from chrome location D:\GoogleChromePortable\GoogleChromePortable.exe is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

Everything is in this video https://www.useloom.com/share/58725b7fdbb447df86b983107c3b35cf

How can I open multiple chrome profile and each profile open the url as describle in video !

I’m using C# for selenium, chrome is version 68, chromedriver 2.41 !

Thanks !