Reputation: 3801
I am unable to use the Apppium Inspector in iOS.
When I load a desired capability set into Appium Inspector the app loads fine as shown below
I am unable to do anything after that point though. Issues..
This same process works fine for Android and inspecting elements, moving through screens etc.
Specs:
Macbook Pro M1 - Monterey 12.2
Appium version: 1.22.3
iOS simulator version: 15.4
The Appium server logs just seem to repeat the same lines over and over during this process:
[W3C (eae40a9e)] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[HTTP] <-- GET /wd/hub/session/eae40a9e-623e-4274-bdf6-77165c5562f0/timeouts 304 1 ms - -
[HTTP]
[HTTP] --> GET /wd/hub/session/eae40a9e-623e-4274-bdf6-77165c5562f0/timeouts
[HTTP] {}
[W3C (eae40a9e)] Calling AppiumDriver.getTimeouts() with args: ["eae40a9e-623e-4274-bdf6-77165c5562f0"]
[XCUITest] Executing command 'getTimeouts'
[W3C (eae40a9e)] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[HTTP] <-- GET /wd/hub/session/eae40a9e-623e-4274-bdf6-77165c5562f0/timeouts 304 3 ms - -
[HTTP]
[HTTP] --> GET /wd/hub/session/eae40a9e-623e-4274-bdf6-77165c5562f0/timeouts
[HTTP] {}
[W3C (eae40a9e)] Calling AppiumDriver.getTimeouts() with args: ["eae40a9e-623e-4274-bdf6-77165c5562f0"]
[XCUITest] Executing command 'getTimeouts'
[W3C (eae40a9e)] Responding to client with driver.getTimeouts() result: {"command":3600000,"implicit":0}
[HTTP] <-- GET /wd/hub/session/eae40a9e-623e-4274-bdf6-77165c5562f0/timeouts 304 6 ms - -
[HTTP]
Upvotes: 3
Views: 2596
Reputation: 21
After upgrade to latest appium server & appium inspector. it worked fine for me.
Ref:https://github.com/appium/appium/issues/16828
Upvotes: 0
Reputation: 3801
Downgrading the iOS simulator version from 15.4 to 15.0 seems to have solved the issue. I am not going to mark this as accepted yet though in case someone else has a better solution
Upvotes: 3