Hi All,
Can you please help me view an issue happen on my environment,appium Desktop inspector is not finding the elements locators of some screens on my app so I am not able to get them and the automation is failing to find the elements (see the following screenshot)
sometimes after updating Xcode version and simulator some of the elements are missing their accessibility ids.
-
I am running Appium Desktop version 1.18.3
-
MacOS catalina 10.15.7
*iPhone 11 Simulator, iOS 14.1 ,Xcode 12.1 -
Appium server output error :
[debug] e[35m[MJSONWP (4f372338)]e[39m Calling AppiumDriver.getContexts() with args: [“4f372338-2d04-4cfa-b1e3-9f24316f73d6”]
[debug] e[35m[XCUITest]e[39m Executing command ‘getContexts’
[debug] e[35m[XCUITest]e[39m Getting list of available contexts
[debug] e[35m[iOS]e[39m Retrieving contexts and views
[debug] e[35m[XCUITest]e[39m Selecting by url: false
[debug] e[35m[RemoteDebugger]e[39m Selecting application
[debug] e[35m[RemoteDebugger]e[39m Current applications available:
[debug] e[35m[RemoteDebugger]e[39m Application: “PID:18420”
[debug] e[35m[RemoteDebugger]e[39m id: “PID:18420”
[debug] e[35m[RemoteDebugger]e[39m isProxy: false
[debug] e[35m[RemoteDebugger]e[39m name: “Sub”
[debug] e[35m[RemoteDebugger]e[39m bundleId: “com.test.Sub”
[debug] e[35m[RemoteDebugger]e[39m hostId: undefined
[debug] e[35m[RemoteDebugger]e[39m isActive: true
[debug] e[35m[RemoteDebugger]e[39m isAutomationEnabled: “Unknown”
[debug] e[35m[RemoteDebugger]e[39m pageArray:
[debug] e[35m[RemoteDebugger]e[39m - id: 2
[debug] e[35m[RemoteDebugger]e[39m title: “”
[debug] e[35m[RemoteDebugger]e[39m url: “about:blank”
[debug] e[35m[RemoteDebugger]e[39m isKey: false
[debug] e[35m[RemoteDebugger]e[39m Checking for bundle identifiers: com.apple.WebKit.WebContent, process-com.apple.WebKit.WebContent, process-SafariViewService, com.apple.SafariViewService, *, com.test.Sub
[debug] e[35m[RemoteDebugger]e[39m Found app id key ‘PID:18420’ for bundle ‘com.test.Sub’
[debug] e[35m[RemoteDebugger]e[39m Trying out the possible app ids: PID:18420 (try #1 of 20)
[debug] e[35m[RemoteDebugger]e[39m Attempting app ‘PID:18420’
[debug] e[35m[RemoteDebugger]e[39m Sending ‘_rpc_forwardGetListing:’ message to app ‘PID:18420’ (id: 6): ‘connectToApp’
[debug] e[35m[RemoteDebugger]e[39m Received response from send (id: 6): ‘[“PID:18420”,{}]’
[debug] e[35m[RemoteDebugger]e[39m Sending to Web Inspector took 9ms
[debug] e[35m[RemoteDebugger]e[39m Empty page dictionary received
[debug] e[35m[RemoteDebugger]e[39m Error checking application: ‘Empty page dictionary received’. Retrying connection[debug] e[35m[RemoteDebugger]e[39m Current applications.