Im getting the following exceptions randomly when launching chromedriver 90 for selenium automation.
- failed to wait for extension background
- time out exception
- DevToolsActivePort file doesn't exist
Browser : chrome 90
Selenium : 3.141.59
OS : Windows10
Steps to reproduce :
Try to Launch browsers again and again with multiple times parallelly with the following chromeoptions: (Same options works well with previous versions of chrome and chromedriver)
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.setCapability(CapabilityType.LOGGING_PREFS, logPrefs);
chromeOptions.addArguments("--no-sandbox");
chromeOptions.addArguments("enable-automation");
chromeOptions.addArguments("--ignore-certificate-errors'");
chromeOptions.addArguments("disable-infobars");
chromeOptions.addArguments("--disable-popup-blocking");
chromeOptions.addArguments("--disable-dev-shm-usage");
chromeOptions.addArguments("--disable-backgrounding-occluded-windows");
chromeOptions.addArguments("use-fake-ui-for-media-stream");
The same was working fine before this chrome90 update. And the same works fine in chrome 86 with chromedirver 86.
Kindly help me to overcome this issue, Thanks in advance.