I am automating a Web app in Chrome using Selenium in C#. I have created separate code bases (exe copies) which would trigger the automation independent of each other, to make this automation faster. Each of the exes launches Chrome and triggers the automation but sometimes I get a Windows pop-up message displaying- 'ChromeDriver.exe has stopped working'. This should not happen as I already have the chromedriver.exe kept under separate code bases which is being triggered by each instances. Also, I am disposing the chromedriver properly for each instance. If I run a single instance it works fine.
Please let me know if I could provide more details or some code snippets that you would like to check.
Thanks, Souvik
if you wish to run multiple automations at the same time, use threading with multiple instances of IWebDriver
EX:
and call the function like this: