Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

219
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda