I have a Automation framework and i am able to execute test in Firefox browser. Sudden, i got requirement to run test in Chrome browser.
I have put Chrome driver and update driver class with following code:
String chromeDriverPath = "Path/chromedriver.exe"; System.setProperty("webdriver.chrome.driver", chromeDriverPath); WebDriver driver = new ChromeDriver();
But when i execute test case, i got below error message:
org.openqa.selenium.WebDriverException: unknown error: DevToolsActivePort file doesn’t exist.
Can anybody help me to resolve the issue? Thanks in advance.