I am facing issue while running selenium scripts on linux server . Issue is about chrome driver .
Tried to run selenium script on linux server
facing issue in WebDriver driver = new ChromeDriver() step.
I am facing issue while running selenium scripts on linux server . Issue is about chrome driver .
Tried to run selenium script on linux server
facing issue in WebDriver driver = new ChromeDriver() step.
This should solve your issue : https://stackoverflow.com/a/49022224
You need to download the chrome driver and set property:
System.setProperty("webdriver.chrome.driver", "C:\\path\\to\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
Download chrome driver from here: https://sites.google.com/a/chromium.org/chromedriver/