An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome '63.0.3239'

Hi All,

I am new to this group.I am trying to run basic test script of opening google page using chrome browser on real android device[vivo] with Appium[1.6.1].but i am getting following error

Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: No Chromedriver found that can automate Chrome ‘63.0.3239’. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details.

With respect to error message i have installed chromedriver version"2.36" compatible version for Chrome 63.0 and also created .npmrc file as detailed in following link “https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md

My Script is as below,

public class SampleTestCaseOne {

public static AppiumDriver driver; 
public static void main(String[] args) {		
	//Set the Desired Capabilities
	DesiredCapabilities caps = new DesiredCapabilities();		
	caps.setCapability("deviceName", "d688b4e0"); //Give Device ID of your mobile phone
	caps.setCapability("device", "Android");
	caps.setCapability("platformVersion", "5.1.1");
	caps.setCapability("browserName", "Chrome");
	//caps.setCapability("chromedriverExecutableDir","C:\\Users\\laksh\\eclipse-workspace\\AppiumMobileBlog\\node_modules\\chromedriver\\bin\\chromedriver.exe");				
	
	//Instantiate Appium Driver
	try {
		 driver = new AndroidDriver(new URL("http://0.0.0.0:4724/wd/hub"), caps);
		 driver.manage().timeouts().implicitlyWait(20L,TimeUnit.SECONDS);
		
	} catch (MalformedURLException e) {
		System.out.println(e.getMessage());
}
			
	//Open URL in Chrome Browser
	driver.get("https://www.google.com");
}

Please help me in this regard.

Thanks,
Lakshmi

1 Like

Hi Lakshmi,
I need some info to answer your question.
-> Where did you install chromedriver or are you talking about chrome driver in below path.
C:\Users\XXXXXXX\AppData\Local\Programs\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win
If you update the driver in this path, it will work.

Thanks,
Sudhakar

What if the same issue comes in Mobile browser?

Hi Lakshmi,

I am too facing the same issue, i am using the Appium desktop. Please let me know if you get a solution to resolve.

Thanks,
Raviteja
email: [email protected]