user5402945
user5402945

Reputation: 165

How to inspect element in IOS app on iphone?

I am quite new to IOS app automation testing.
I am trying to automate the testing of IOS app using Appium.
But I am not able to inspect the element of IOS app on simulator.
I am using a

The Appium install and the App and the WDA started on the simulator,
but after that, it failed to start the application.

Upvotes: 4

Views: 3578

Answers (1)

dmle
dmle

Reputation: 3658

I suggest using official inspector tool: appium-desktop

First of all, you need to resign WebDriverAgent with Apple developer certificate you are using for your iOS app.

Then launch appium-desktop and start a new session with following capabilities:

app: <absolute path to ipa file>
automationName: 'XCUITest'
deviceName: 'iPhone X'
platformName: 'iOS'
platformVersion: '11.0',
udid: <your device UDID>,
xcodeOrgId:
xcodeSigningId:

More details about Appium capabilities in general and iOS XCUITest ones.

Upvotes: 1

Related Questions