mykola-mokhnach / Appium-iOS-Inspector

Apache License 2.0
145 stars 60 forks source link

Issues capturing view if it contains a high amount of complexity. #14

Closed ericmeds closed 7 years ago

ericmeds commented 7 years ago

I've noticed issues for views containing a high amount of buttons, images, tabs, etc (iPad apps). When attempting to capture this view, iOS Appium Inspector freezes up and does not return any results (browser ultimately asks to kill process). I am not sure where I can find logs but will gladly provide. Thank you!

mykola-mokhnach commented 7 years ago

Check the device logs while you are trying to load the structure into inspector. If you see something like

Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessib
ilityElement: 0x61000024c510> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} <unknown> 0 1

then welcome to the club.

It is known WDA/Apple issue and I cannot do anything about it. Inspector just tries to read and reflect what the underlying backend provides.

ericmeds commented 7 years ago

That is indeed the issue. :(