Closed pavanbachu0604 closed 7 years ago
Possible duplicate of https://github.com/mykola-mokhnach/Appium-iOS-Inspector/issues/17
Same problem. I get no element tree displayed. Often i get an parse error. I have downloaded the new version! Something went wrong!
@cpt-buzz can you provide the text of the error you get?
Well, i get only this screen
I'd like to see javascript console output
Do you mean this ?
[Info] INFO :initSessionId:18 initSessionId... (Logger.js, line 36) [Info] INFO :undefined:30 success (Logger.js, line 36) [Info] INFO :undefined:30 [object Object] (Logger.js, line 36) [Info] INFO :undefined:30 Session Id: c3784e2d-71ec-492e-b087-1387602cd41a (Logger.js, line 36) [Info] INFO :initAutXml:18 initAutXml... (Logger.js, line 36) [Info] INFO :undefined:30 error (Logger.js, line 36) [Info] INFO :initScreenshot:18 initScreenshot... (Logger.js, line 36) [Log] before calling resize() (iOS Inspector.html, line 24) [Info] INFO :undefined:30 error (Logger.js, line 36) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] NaN,NaN (inspector.js, line 663) [Log] couldn t find element at NaN , NaN (inspector.js, line 670) [Log] resized to 428.26086950302124 (inspector1.js, line 39)
@cpt-buzz something seems to be wrong with your Appium session. What do you see if you open http://localhost:4723/wd/hub/sessions page in browser at the same time?
This one looks good. And what
http://localhost:4723/wd/hub/session_id/source
shows, where session_id is the identifier taken from the id property of the json object above?
sorry, wrong url. Try:
http://localhost:4723/wd/hub/session/session_id/source
instead
As you can see there is no source provided by Appium server, which means the issue has nothing to do with the inspector itself. The thing might be related to a known XCTest bug, for which Appium has added some workarounds in 1.6.4-beta release.
Ok, might appium 1.6.4-beta should be able to fix my problem?
you never know until you try
I am not able to select the Element which is being displayed on the screen. iOS 10.2.1 and Appium 1.6.3 PFA Screen shot