Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

209
Views
WebDriverIO connecting to Appium No matching capabilities found Error

I'm trying to connect my virtual Android Device via Appium to my Webdriverio script to automate some testing.

I have the capabilities set as this:

capabilities: [{

    // The defaults you need to have in your config
    platformName: 'Android',
    browserName: 'chrome',
    maxInstances: 1,
    // For W3C the appium capabilities need to have an extension prefix
    // http://appium.io/docs/en/writing-running-appium/caps/
    // This is `appium:` for all Appium Capabilities which can be found here
    'appium:automationName': 'uiautomator2',
    'appium:platformVersion': '12.0',
    'appium:deviceName': 'emulator-5554',
    'appium:noReset': 'true'
}],

And I have the chromedriver and Appium services running:

services: ['appium', 'chromedriver']

But when I try to run my script I keep getting this error:

ERROR webdriver: Request failed with status 500 due to session not created: session not created: No matching capabilities found

I've tried to change up the capabilities. Changing the device name to match another running device. I've also tried to remove the appium prefix and just write the capability name, however that leads to even further errors.

Any help would be appreciated.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Hi I think you are missing on one of the capabilities, below is the capability that is used from appium desktop and it did work for me, that was 'chromedriverExecutableDir' that takes the absolute path for the chrome driver executable folder. also make sure you check the chrome version in the simulator and use it accordingly.

 "platformName": "Android",
  "platformVersion": "11",
  "automationName": "UiAutomator2",
  "deviceName": "Pixel5",
  "browserName": "chrome",
  "chromedriverExecutableDir": "C:\\absolute\\path\\to\\chromedriver"

Appium document screenshot and reference link for the same is as below https://appium.io/docs/en/writing-running-appium/caps/ enter image description here This is how to check the chrome driver version in the simulator enter image description here

Refer to the below screen for testing your capabilities from the appium desktop application. enter image description here

enter image description here

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!