Appium Webdriver Agent

Greetings!

On my Mac M1 with Mac OS Ventura 13.5.1, XCode15 and Appium 2.1.3 installed I can’t get the iOS tests launch consistently in an iOS simulator. I’m using the WebdriverIO client.

It seems to be an issue with the installation of the Webdriver agent or connectivity with the webdriver agent. Appium launches many instances of the iOS simulator and sometimes succeeds installing Webdriveragent and launching a test suite and sometimes doesn’t and continues spawning instances of the simulator.

Besides that, despite the capabilities I’m using, a new simulator instance gets launched per each test suite. Any insight what might be the cause of unstable work?

Capabilities I’m using:

capabilities: [
{
‘appium:automationName’: ‘XCUITest’,
‘appium:deviceName’: ‘iPhone Simulator’,
platformName: ‘iOS’,
‘appium:platformVersion’: ‘16.4’,
‘appium:app’: ‘/Users/xxx/Desktop/Repos/yyy/zzz/resources/TestApp.app’,
‘appium:fullReset’: false,
‘appium:noReset’: true
}
],

I seem to resolve the multiple simulator spawning issue with “useNewWDA” capability set to false. Yet one issue that still remains is the fact the simulator fully reboots before running the each test suite, which makes the testing rather slow compared to Android automation where the device does not reboot constantly between the sessions.