# Appium2: Could not find a driver for automationName 'XCUITest'

**URL:** <https://discuss.appium.io/t/appium2-could-not-find-a-driver-for-automationname-xcuitest/38773>\
**Category:** Support\
**Created:** [March 23, 2023, 12:48am UTC](https://discuss.appium.io/t/appium2-could-not-find-a-driver-for-automationname-xcuitest/38773 "2023-03-23T00:48:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tirzah](https://discuss.appium.io/user_avatar/discuss.appium.io/tirzah/32/8042_2.png) [@Tirzah](https://discuss.appium.io/u/Tirzah)\
**Post date:** [March 23, 2023, 12:48am UTC](https://discuss.appium.io/t/appium2-could-not-find-a-driver-for-automationname-xcuitest/38773/1 "2023-03-23T00:48:43Z")

</div>

appium --version

2.0.0-beta.57

When I run the automation client is webdriverio  
I got this error  
Request failed with status 500 due to unknown error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName ‘XCUITest’ and platformName ‘iOS’. Have you installed a driver that supports those capabilities? Run ‘appium driver list --installed’ to see. (Lower-level error: Could not find installed driver to support given caps)

[0-4] 2023-03-23T00:36:05.588Z ERROR webdriver: unknown error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName ‘XCUITest’ and platformName ‘iOS’. Have you installed a driver that supports those capabilities? Run ‘appium driver list --installed’ to see. (Lower-level error: Could not find installed driver to support given caps)

my desired cap in the wdio config is:

config.capabilities = [  
{  
// The defaults you need to have in your config  
platformName: ‘iOS’,  
maxInstances: 1,  
// For W3C the appium capabilities need to have an extension prefix  
// This is `appium:` for all Appium Capabilities which can be found here  
// [http://appium.io/docs/en/writing-running-appium/caps/](http://appium.io/docs/en/writing-running-appium/caps/)  
‘appium:deviceName’: ‘iPhone 14 Pro’,  
‘appium:platformVersion’: ‘16.2’,  
‘appium:orientation’: ‘PORTRAIT’,  
‘appium:automationName’: ‘XCUITest’,  
// The path to the app  
‘appium:app’: join(process.cwd(), ‘./tests/apps/nativeIntegration.app’),  
// Read the reset strategies very well, they differ per platform, see  
// [http://appium.io/docs/en/writing-running-appium/other/reset-strategies/](http://appium.io/docs/en/writing-running-appium/other/reset-strategies/)  
‘appium:noReset’: false,  
‘appium:newCommandTimeout’: 500,  
// ‘appium:unicodeKeyboard’: true,  
// ‘appium:resetKeyboard’: true  
},

---

<div class="post-metadata">

**Author:** ![Aleksei](https://discuss.appium.io/user_avatar/discuss.appium.io/aleksei/32/6267_2.png) [@Aleksei](https://discuss.appium.io/u/Aleksei)\
**Post date:** [March 23, 2023, 8:07am UTC](https://discuss.appium.io/t/appium2-could-not-find-a-driver-for-automationname-xcuitest/38773/2 "2023-03-23T08:07:32Z")

</div>

> [@Tirzah](#):
>
> ‘appium:automationName’: ‘XCUITest’,

cause →

```auto
String IOS_XCUI_TEST = "XCuiTest";

```

case sensitive 🙂

---

<div class="post-metadata">

**Author:** ![Tirzah](https://discuss.appium.io/user_avatar/discuss.appium.io/tirzah/32/8042_2.png) [@Tirzah](https://discuss.appium.io/u/Tirzah)\
**Post date:** [April 11, 2023, 2:01am UTC](https://discuss.appium.io/t/appium2-could-not-find-a-driver-for-automationname-xcuitest/38773/3 "2023-04-11T02:01:06Z")

</div>

> [@Aleksei](#):
>
> XCuiTest

@Aleksei actually I realised it’s due to missing ios driver  
I installed it using this command  
appium driver install xcuitest

I am using appium2

appium --version  
2.0.0-beta.57
