mykola-mokhnach / Appium-iOS-Inspector

Apache License 2.0
145 stars 60 forks source link

Inspector not displaying anything and timing out even after port change #11

Closed samkaks closed 7 years ago

samkaks commented 7 years ago

We have appium running currently on 4726, we modified the inspector.js file to switch it from 4723 where it did not run and we are still having the same issue. screen shot 2016-11-30 at 4 45 37 pm

mykola-mokhnach commented 7 years ago

Do you get any response if you copy this link and simply navigate to it from the browser?

samkaks commented 7 years ago

We don't get any response and on chrome it simply fails to open. Constantly loading i tried to look at the response on safari by looking at the network request. But got an error trying to load the source screen shot 2016-12-01 at 11 57 16 am

mykola-mokhnach commented 7 years ago

You can try to increase the timeout by changing the _SRC_XML_GET_TIMEOUTMS variable inside inpector.js. But I bet you'll see this error in device logs if you check them.

samkaks commented 7 years ago

nvm: from appium this is the response:

debug] [MJSONWP] Calling AppiumDriver.getPageSource() with args: ["bd6936a2-cac9-4c55-9da0-32d0f27509d0"] [debug] [XCUITest] Executing command 'getPageSource' [HTTP] <-- GET /wd/hub/session/bd6936a2-cac9-4c55-9da0-32d0f27509d0/source - - ms - - [Xcode] escription=Error copying attributes -25202} 0 1 2016-12-01 11:58:33.769 XCTRunner[92836:1062151] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000442b80> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 11:58:48.812 XCTRunner[92836:1061292] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000259860> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 11:59:03.856 XCTRunner[92836:1062151] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000447230> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 11:59:18.896 XCTRunner[92836:1061292] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800044eb80> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 11:59:33.945 XCTRunner[92836:1062151] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000056800> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 11:59:48.995 XCTRunner[92836:1062151] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000252510> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:00:04.037 XCTRunner[92836:1062151] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000256ec0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:00:19.092 XCTRunner[92836:1064539] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800044e0a0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:00:34.135 XCTRunner[92836:1064539] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800024d110> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:00:49.169 XCTRunner[92836:1065425] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x6080002566b0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:01:04.215 XCTRunner[92836:1066516] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x608000254d00> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:01:19.262 XCTRunner[92836:1066516] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064f7b0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:01:34.308 XCTRunner[92836:1066901] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064f540> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:01:49.358 XCTRunner[92836:1067689] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064f1e0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:02:04.407 XCTRunner[92836:1067925] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064f060> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:02:19.446 XCTRunner[92836:1069234] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064ed00> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:02:34.492 XCTRunner[92836:1069234] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064ea00> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:02:49.529 XCTRunner[92836:1069234] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064e7c0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:03:04.570 XCTRunner[92836:1069234] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064e520> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:03:19.615 XCTRunner[92836:1071993] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064e280> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:03:34.661 XCTRunner[92836:1072352] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064df50> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:03:49.707 XCTRunner[92836:1072352] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064dcb0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:04:04.751 XCTRunner[92836:1072352] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064d9e0> Device element: Error Domain=XCTestManagerErrorDomain Code=13 "Error copying attributes -25202" UserInfo={NSLocalizedDescription=Error copying attributes -25202} 0 1 2016-12-01 12:04:19.794 XCTRunner[92836:1073627] Enqueue Failure: UI Testing Failure - Failure fetching attributes for element <XCAccessibilityElement: 0x60800064d740> Device element: Error Domain=XCTestManagerErrorDomain

mykola-mokhnach commented 7 years ago

See my response above. This is ratherWDA/XCTest issue.