I'm currently facing an issue while attempting to link my virtual Android Device through Appium with my Webdriverio script for the purpose of automating some testing tasks.
Here are the capabilities that I have set:
capabilities: [{
// Necessary default configurations in your script
platformName: 'Android',
browserName: 'chrome',
maxInstances: 1,
// For W3C compliance, all appium capabilities should include an extension prefix
// Details can be found here: http://appium.io/docs/en/writing-running-appium/caps/
'appium:automationName': 'uiautomator2',
'appium:platformVersion': '12.0',
'appium:deviceName': 'emulator-5554',
'appium:noReset': 'true'
}],
Furthermore, both chromedriver and Appium services are up and running:
services: ['appium', 'chromedriver']
However, I consistently encounter this error whenever I attempt to execute my script:
ERROR webdriver: Request failed with status 500 due to session not created: session not created: No matching capabilities found
I've made attempts to adjust the capabilities by trying different device names and even removing the appium prefix from the capability names, yet these adjustments only result in additional errors.
Any assistance on this matter would be highly appreciated.