question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Appium 2 - unable to find chromedriver

See original GitHub issue

The problem

Appium is not able to find chromedriver, though it is present in the chromedriver directory.

Environment

  • Appium version (or git revision) that exhibits the issue: Appium v2.0.0-beta.33
  • Last Appium version that did not exhibit the issue (if applicable): Appium v1.22.3
  • Desktop OS/version used to run Appium: Windows 10
  • Node.js version (unless using Appium.app|exe): v16.15.0
  • Npm or Yarn package manager: 8.5.5
  • Mobile platform/version under test: Android 12
  • Real device or emulator/simulator: Emulator
  • Appium CLI or Appium.app|exe: Appium CLI

Details

I’m running appium with the following args --allow-insecure=adb_shell,chromedriver_autodownload. From the logs I can see that it’s downloading 2 chromedrivers and those drivers are present in the specified directory. But appium still fails with an error [debug] [Chromedriver@d1f0] Error: No Chromedriver found that can automate Chrome '91.0.4472'. See https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/web/chromedriver.md for more details Running appium 1 on the same pc works as it should.

Link to Appium logs

appium 1: https://gist.github.com/ostap-oleksyn/3b48d1da287375dff39ba03f1573a39e appium 2: https://gist.github.com/ostap-oleksyn/55eedcd0ceaf3a1b344f09297717369e

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
ostap-oleksyncommented, Apr 28, 2022

Thanks! Tried it with chromedriver 5.0.4 and it works now.

0reactions
mykola-mokhnachcommented, Apr 27, 2022

The patch has been published in chromedriver 5.0.4 Please reinstall UIA2 driver and make sure this dependency is up to date. Then retry your test

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Chromedriver - Appium
When Appium is installed it needs to download Chromedriver, so there is the possibility that there could be network problems that make the...
Read more >
Appium: Unable to find element in Android chrome browser by ...
I've tried to find it using XPath and it works. This is my code: public class Browse extends BaseMobile { public static void...
Read more >
Getting Chromedriver error when trying to run test on a ...
error: Failed to start an Appium session, err was: Error: Could not find chromed ... info: [CHROMEDRIVER] Starting ChromeDriver (v2.3) on port 9515....
Read more >
How to Install Chrome Driver on Mac - Software Test Academy
Step1: Download Chrome Driver · Step2: Move the driver to the /usr/local/bin folder · 2 thoughts on “How to Install Chrome Driver on...
Read more >
No Chromedriver found that can automate Chrome - YouTube
AWS Device farm with Appium Python [iOS PART 2 ] · Automate Android chrome browser | AutodownloadChromeDriver · Automation using Appium · Test ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found