{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/991","repository_url":"https://api.github.com/repos/facebook/WebDriverAgent","labels_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/991/labels{/name}","comments_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/991/comments","events_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/991/events","html_url":"https://github.com/facebook/WebDriverAgent/issues/991","id":361600546,"node_id":"MDU6SXNzdWUzNjE2MDA1NDY=","number":991,"title":"iOS12 CAN NOT REFRESH SCREEN IN INSPECTOR","user":{"login":"ekicham","id":3433521,"node_id":"MDQ6VXNlcjM0MzM1MjE=","avatar_url":"https://avatars2.githubusercontent.com/u/3433521?v=4","gravatar_id":"","url":"https://api.github.com/users/ekicham","html_url":"https://github.com/ekicham","followers_url":"https://api.github.com/users/ekicham/followers","following_url":"https://api.github.com/users/ekicham/following{/other_user}","gists_url":"https://api.github.com/users/ekicham/gists{/gist_id}","starred_url":"https://api.github.com/users/ekicham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekicham/subscriptions","organizations_url":"https://api.github.com/users/ekicham/orgs","repos_url":"https://api.github.com/users/ekicham/repos","events_url":"https://api.github.com/users/ekicham/events{/privacy}","received_events_url":"https://api.github.com/users/ekicham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-19T06:42:45Z","updated_at":"2018-09-27T03:08:36Z","closed_at":null,"author_association":"NONE","body":"HELLO,\r\n     I GET A EXCEPTION ERROR WHEN I REFRESH SCREEN IN \"http://localhost:8100/inspector\"\r\n     HOW TO resolve this problem？Thanks！\r\n\r\n# environment\r\niOS：12\r\nMac os：10.13.6\r\nXCODE: 10\r\n\r\n\r\n# LOGS:\r\n\r\n2018-09-19 14:30:33.832571+0800 WebDriverAgentRunner-Runner[722:96732] +[CATransaction synchronize] called within transaction\r\n2018-09-19 14:30:33.843147+0800 WebDriverAgentRunner-Runner[722:96732] Running tests...\r\nTest Suite 'All tests' started at 2018-09-19 14:30:37.191\r\nTest Suite 'WebDriverAgentRunner.xctest' started at 2018-09-19 14:30:37.192\r\nTest Suite 'UITestingUITests' started at 2018-09-19 14:30:37.192\r\nTest Case '-[UITestingUITests testRunner]' started.\r\n    t =     0.00s Start Test at 2018-09-19 14:30:37.193\r\n    t =     0.00s Set Up\r\n2018-09-19 14:30:37.200189+0800 WebDriverAgentRunner-Runner[722:96732] Built at Sep 19 2018 14:29:54\r\n2018-09-19 14:30:37.219119+0800 WebDriverAgentRunner-Runner[722:96732] ServerURLHere->http://10.166.99.72:8100<-ServerURLHere\r\n    t =    33.22s Find the Application 'com.apple.springboard'\r\n    t =    33.22s     Snapshot accessibility hierarchy for app with pid 55\r\n    t =    33.40s Snapshot accessibility hierarchy for app with pid 55\r\n    t =    39.13s Find the Application 'com.apple.springboard'\r\n    t =    39.14s     Snapshot accessibility hierarchy for app with pid 55\r\n    t =    46.39s Find the Application 'com.tencent.xin'\r\n    t =    46.40s     Snapshot accessibility hierarchy for app with pid 726\r\n    t =    46.52s Snapshot accessibility hierarchy for app with pid 726\r\n    t =    46.85s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:31:24.098650+0800 WebDriverAgentRunner-Runner[722:96926] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283f3e640>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:32:29.162657+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Cell, {{0.0, 88.0}, {375.0, 68.0}}, label: 'pingcezu33，上午9:53，' at point {187.5, 122} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 88.0}, {375.0, 68.0}}, label: 'pingcezu33，上午9:53，': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779206080.43'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   112.05s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:32:29.328005+0800 WebDriverAgentRunner-Runner[722:97161] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283f25900>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:33:34.337842+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Cell, {{0.0, 156.0}, {375.0, 68.0}}, label: 'pingcezu66，上午9:53，' at point {187.5, 190} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 156.0}, {375.0, 68.0}}, label: 'pingcezu66，上午9:53，': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779188416.61'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   177.24s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:33:34.521027+0800 WebDriverAgentRunner-Runner[722:97428] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283f1f3c0>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:34:39.530430+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Cell, {{0.0, 224.0}, {375.0, 68.0}}, label: 'wechatTest01，上午9:53，' at point {187.5, 258} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 224.0}, {375.0, 68.0}}, label: 'wechatTest01，上午9:53，': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779194368.65'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   242.67s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:34:39.922456+0800 WebDriverAgentRunner-Runner[722:97520] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283ff2180>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:35:44.927693+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Other, {{0.0, 495.7}, {375.0, 0.3}} at point {187.5, 495.83333333333337} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 428.0}, {375.0, 68.0}}, label: '微信团队，1个未读消息，上午9:52，安全登录提醒': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779143296.81'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   307.84s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:35:45.111798+0800 WebDriverAgentRunner-Runner[722:97516] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283fd06c0>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:36:50.119212+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Other, {{0.0, 496.0}, {375.0, 883.0}} at point {187.5, 654} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element Other, {{0.0, 0.0}, {375.0, 812.0}}: Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 4468247600.89'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   372.99s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:36:50.273608+0800 WebDriverAgentRunner-Runner[722:97739] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283fd5780>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:37:55.283119+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Other, {{0.0, 495.5}, {375.0, 0.5}} at point {187.5, 495.75} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 428.0}, {375.0, 68.0}}, label: '微信团队，1个未读消息，上午9:52，安全登录提醒': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779143296.81'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   438.88s Find the Application 'com.tencent.xin'\r\n    t =   438.88s     Snapshot accessibility hierarchy for app with pid 726\r\n    t =   439.04s Find the Application 'com.tencent.xin'\r\n    t =   439.04s     Snapshot accessibility hierarchy for app with pid 726\r\n    t =   439.10s Snapshot accessibility hierarchy for app with pid 726\r\n    t =   439.40s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:37:56.648762+0800 WebDriverAgentRunner-Runner[722:97907] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283e7cb00>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n2018-09-19 14:39:01.653504+0800 WebDriverAgentRunner-Runner[722:96732] Enqueue Failure: Hit testing Cell, {{0.0, 88.0}, {375.0, 68.0}}, label: 'pingcezu33，上午9:53，' at point {187.5, 122} returned (null) which is from the same process but cannot be mapped using AX data: Failed to lookup parent of element StaticText, {{0.0, 88.0}, {375.0, 68.0}}, label: 'pingcezu33，上午9:53，': Timeout waiting for fulfillment of promise for 'Fetching attributes 'XC_kAXXCAttributeParent' for AX element pid: 726, elementOrHash.elementID: 10779206080.43'. /Users/icos/sandbox/WebDriverAgent/WebDriverAgentRunner/UITestingUITests.m 37 1\r\n    t =   504.56s Snapshot accessibility hierarchy for app with pid 726\r\n2018-09-19 14:39:01.818803+0800 WebDriverAgentRunner-Runner[722:97911] [general] Exception caught during decoding of received reply to message '_XCT_fetchAttributes:forElement:reply:', dropping incoming message and calling failure block.\r\n\r\nException: Exception while decoding argument 0 (#1 of invocation):\r\n<NSInvocation: 0x283e62ec0>\r\nreturn value: {v} void\r\ntarget: {@?} 0x0 (block)\r\nargument 1: {@} 0x0\r\nargument 2: {@} 0x0\r\n\r\nException: value for key 'NS.objects' was of unexpected class 'XCAccessibilityElement'. Allowed classes are '{(\r\n    NSNumber,\r\n    NSData,\r\n    NSDate,\r\n    NSOrderedSet,\r\n    NSSet,\r\n    NSString,\r\n    NSNull,\r\n    NSArray,\r\n    NSDictionary\r\n)}'.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/comments/424944052","html_url":"https://github.com/facebook/WebDriverAgent/issues/991#issuecomment-424944052","issue_url":"https://api.github.com/repos/facebook/WebDriverAgent/issues/991","id":424944052,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDk0NDA1Mg==","user":{"login":"SomeOneTY","id":7139542,"node_id":"MDQ6VXNlcjcxMzk1NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/7139542?v=4","gravatar_id":"","url":"https://api.github.com/users/SomeOneTY","html_url":"https://github.com/SomeOneTY","followers_url":"https://api.github.com/users/SomeOneTY/followers","following_url":"https://api.github.com/users/SomeOneTY/following{/other_user}","gists_url":"https://api.github.com/users/SomeOneTY/gists{/gist_id}","starred_url":"https://api.github.com/users/SomeOneTY/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SomeOneTY/subscriptions","organizations_url":"https://api.github.com/users/SomeOneTY/orgs","repos_url":"https://api.github.com/users/SomeOneTY/repos","events_url":"https://api.github.com/users/SomeOneTY/events{/privacy}","received_events_url":"https://api.github.com/users/SomeOneTY/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T03:08:36Z","updated_at":"2018-09-27T03:08:36Z","author_association":"NONE","body":"xcode10.0 + iOS 11.4\r\ni get the same issue."}}
{"actor":{"display_login":"SomeOneTY"}}