-
-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session is killed for no reason #260
Comments
Are you sure the sessions management works properly in your client framework? It looks like multiple sessions are being executed on the same device, although only one session must be run at the same time. |
I don't know why so many sessions in my device, I just run |
@mykola-mokhnach , I read the log of my success run, and I also found several sessions on the same device. so I guess, is this appium design for some reasons? [debug] �[38;5;16m[AppiumDriver@6950]�[0m Calling AppiumDriver.getSessions() with args: [] |
not sure what you mean. It just runs whatever is requested by the client and should work like that. If you use hub then make sure it mediates session creation requests to appropriate nodes. |
Env:
Appium: latest
Mac 2 Driver: latest
I found that my running job is failed for the session is killed, however, I don't know why the session is killed!
log
�[38;5;0m[HTTP]�[0m �[90m{"using":"-ios class chain","value":"/XCUIElementTypeTable[
label == \"History\"
]//XCUIElementTypeButton[label == \"More\"
]"}�[39m[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElements() with args: ["-ios class chain","/XCUIElementTypeTable[
label == \"History\"
]//XCUIElementTypeButton[label == \"More\"
]","ef8258e1-1863-4856-b6f5-28d1d280d6b8"][debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/elements' to command name 'findElements'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /elements] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/elements] with body: {"using":"class chain","value":"/XCUIElementTypeTable[
label == \"History\"
]//XCUIElementTypeButton[label == \"More\"
]"}[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":[{"ELEMENT":"F3DC980F-D7EE-48EF-9F6C-24B5C47561F8","element-6066-11e4-a52e-4f735466cecf":"F3DC980F-D7EE-48EF-9F6C-24B5C47561F8"}],"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"F3DC980F-D7EE-48EF-9F6C-24B5C47561F8","ELEMENT":"F3DC980F-D7EE-48EF-9F6C-24B5C47561F8"}]
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/elements �[39m�[32m200�[39m �[90m92 ms - 139�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F3DC980F-D7EE-48EF-9F6C-24B5C47561F8/click�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
�[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Driver proxy active, passing request on via HTTP proxy
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F3DC980F-D7EE-48EF-9F6C-24B5C47561F8/click' to command name 'click'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F3DC980F-D7EE-48EF-9F6C-24B5C47561F8/click] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element/F3DC980F-D7EE-48EF-9F6C-24B5C47561F8/click] with body: {}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":null,"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
�[38;5;80m[WD Proxy]�[0m Replacing sessionId 7AFF776F-4FBA-41BC-954F-5335FD682E7F with ef8258e1-1863-4856-b6f5-28d1d280d6b8
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F3DC980F-D7EE-48EF-9F6C-24B5C47561F8/click �[39m�[32m200�[39m �[90m647 ms - 65�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element�[39m
�[38;5;0m[HTTP]�[0m �[90m{"using":"xpath","value":"//XCUIElementTypeOther[@Label = "Block Number"]/.."}�[39m
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeOther[@Label = "Block Number"]/..","ef8258e1-1863-4856-b6f5-28d1d280d6b8"]
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/element' to command name 'findElement'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /element] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element] with body: {"using":"xpath","value":"//XCUIElementTypeOther[@Label = "Block Number"]/.."}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":{"ELEMENT":"31F9E236-3532-405C-B3F6-8749A4777495","element-6066-11e4-a52e-4f735466cecf":"31F9E236-3532-405C-B3F6-8749A4777495"},"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"31F9E236-3532-405C-B3F6-8749A4777495","ELEMENT":"31F9E236-3532-405C-B3F6-8749A4777495"}
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element �[39m�[32m200�[39m �[90m469 ms - 137�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/31F9E236-3532-405C-B3F6-8749A4777495/click�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
�[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Driver proxy active, passing request on via HTTP proxy
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/31F9E236-3532-405C-B3F6-8749A4777495/click' to command name 'click'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/31F9E236-3532-405C-B3F6-8749A4777495/click] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element/31F9E236-3532-405C-B3F6-8749A4777495/click] with body: {}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":null,"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
�[38;5;80m[WD Proxy]�[0m Replacing sessionId 7AFF776F-4FBA-41BC-954F-5335FD682E7F with ef8258e1-1863-4856-b6f5-28d1d280d6b8
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/31F9E236-3532-405C-B3F6-8749A4777495/click �[39m�[32m200�[39m �[90m768 ms - 65�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element�[39m
�[38;5;0m[HTTP]�[0m �[90m{"using":"xpath","value":"//XCUIElementTypeOther[@Label = "Spam Calls"]/.."}�[39m
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElement() with args: ["xpath","//XCUIElementTypeOther[@Label = "Spam Calls"]/..","ef8258e1-1863-4856-b6f5-28d1d280d6b8"]
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/element' to command name 'findElement'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /element] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element] with body: {"using":"xpath","value":"//XCUIElementTypeOther[@Label = "Spam Calls"]/.."}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":{"ELEMENT":"F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65","element-6066-11e4-a52e-4f735466cecf":"F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65"},"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65","ELEMENT":"F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65"}
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element �[39m�[32m200�[39m �[90m497 ms - 137�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65/click�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
�[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Driver proxy active, passing request on via HTTP proxy
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65/click' to command name 'click'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65/click] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element/F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65/click] with body: {}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":null,"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
�[38;5;80m[WD Proxy]�[0m Replacing sessionId 7AFF776F-4FBA-41BC-954F-5335FD682E7F with ef8258e1-1863-4856-b6f5-28d1d280d6b8
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B373E5-8DCC-4DF8-B2BE-5EB5B8BF3A65/click �[39m�[32m200�[39m �[90m810 ms - 65�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element�[39m
�[38;5;0m[HTTP]�[0m �[90m{"using":"-ios class chain","value":"/XCUIElementTypeButton[
label == \"Block\"
]"}�[39m[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElement() with args: ["-ios class chain","/XCUIElementTypeButton[
label == \"Block\"
]","ef8258e1-1863-4856-b6f5-28d1d280d6b8"][debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/element' to command name 'findElement'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /element] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element] with body: {"using":"class chain","value":"/XCUIElementTypeButton[
label == \"Block\"
]"}[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":{"ELEMENT":"F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06","element-6066-11e4-a52e-4f735466cecf":"F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06"},"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06","ELEMENT":"F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06"}
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element �[39m�[32m200�[39m �[90m119 ms - 137�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06/click�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
�[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Driver proxy active, passing request on via HTTP proxy
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06/click' to command name 'click'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06/click] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element/F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06/click] with body: {}
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":null,"sessionId":"7AFF776F-4FBA-41BC-954F-5335FD682E7F"}
�[38;5;80m[WD Proxy]�[0m Replacing sessionId 7AFF776F-4FBA-41BC-954F-5335FD682E7F with ef8258e1-1863-4856-b6f5-28d1d280d6b8
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element/F0B9BC3E-8F05-4E6A-9F4D-DFC661518F06/click �[39m�[32m200�[39m �[90m563 ms - 65�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mDELETE�[39m �[37m/session/15f76f98-30d5-476f-95b4-95d2a7b2f910�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
[debug] �[38;5;48m[Mac2Driver@3573 (15f76f98)]�[0m Calling AppiumDriver.deleteSession() with args: ["15f76f98-30d5-476f-95b4-95d2a7b2f910"]
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Event 'quitSessionRequested' logged at 1701914493690 (10:01:33 GMT+0800 (China Standard Time))
�[38;5;16m[AppiumDriver@2e2e]�[0m Removing session 15f76f98-30d5-476f-95b4-95d2a7b2f910 from our master session list
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F' to command name 'deleteSession'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [DELETE /session/7AFF776F-4FBA-41BC-954F-5335FD682E7F] to [DELETE http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F] with no body
[debug] �[38;5;80m[WD Proxy]�[0m Got response with status 200: {"value":null,"sessionId":null}
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Event 'quitSessionFinished' logged at 1701914493695 (10:01:33 GMT+0800 (China Standard Time))
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Received response: null
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m But deleting session, so not returning
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Responding to client with driver.deleteSession() result: null
�[38;5;0m[HTTP]�[0m �[37m<-- DELETE /session/15f76f98-30d5-476f-95b4-95d2a7b2f910 �[39m�[32m200�[39m �[90m6 ms - 14�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element�[39m
�[38;5;0m[HTTP]�[0m �[90m{"using":"-ios predicate string","value":"label == "Ignore""}�[39m
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElement() with args: ["-ios predicate string","label == "Ignore"","ef8258e1-1863-4856-b6f5-28d1d280d6b8"]
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/element' to command name 'findElement'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /element] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element] with body: {"using":"predicate string","value":"label == "Ignore""}
�[38;5;80m[WD Proxy]�[0m Got response with status 404: {"value":{"error":"invalid session id","message":"Session does not exist","traceback":"(\n\t0 CoreFoundation 0x00007ff8024db18a __exceptionPreprocess + 242\n\t1 libobjc.A.dylib 0x00007ff80200142b objc_exception_throw + 48\n\t2 CoreFoundation 0x00007ff8025032f6 -[NSException raise] + 9\n\t3 WebDriverAgentLib 0x000000010905d016 -[FBRoute raiseNoSessionException] + 86\n\t4 WebDriverAgentLib 0x000000010905cf63 -[FBRoute decorateRequest:] + 259\n\t5 WebDriverAgentLib 0x000000010905c39a -[FBRoute_TargetAction mountRequest:intoResponse:] + 90\n\t6 WebDriverAgentLib 0x0000000109055aa8 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 776\n\t7 WebDriverAgentLib 0x000000010904f19d -[RoutingHTTPServer handleRoute:withRequest:response:] + 189\n\t8 WebDriverAgentLib 0x000000010904fee1 __72-[RoutingHTTPServer routeMethod:withPat...
[debug] �[38;5;96m[W3C]�[0m Matched W3C error code 'invalid session id' to NoSuchDriverError
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at errorFromW3CJsonCode (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:1059:25)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:928:14)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at WDAMacProxy.command (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:353:19)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElOrEls (/Users/admin/.appium/node_modules/appium-mac2-driver/lib/commands/find.js:17:10)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElOrElsWithProcessing (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:60:12)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElement (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:75:12)
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element �[39m�[33m404�[39m �[90m9 ms - 1014�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element�[39m
�[38;5;0m[HTTP]�[0m �[90m{"using":"-ios class chain","value":"/XCUIElementTypeTable[
label == \"History\"
]/XCUIElementTypeTableRow[1]"}�[39m[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.findElement() with args: ["-ios class chain","/XCUIElementTypeTable[
label == \"History\"
]/XCUIElementTypeTableRow[1]","ef8258e1-1863-4856-b6f5-28d1d280d6b8"][debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Valid locator strategies for this request: id, name, accessibility id, xpath, class name, -ios predicate string, predicate string, -ios class chain, class chain
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/element' to command name 'findElement'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /element] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/element] with body: {"using":"class chain","value":"/XCUIElementTypeTable[
label == \"History\"
]/XCUIElementTypeTableRow[1]"}�[38;5;80m[WD Proxy]�[0m Got response with status 404: {"value":{"error":"invalid session id","message":"Session does not exist","traceback":"(\n\t0 CoreFoundation 0x00007ff8024db18a __exceptionPreprocess + 242\n\t1 libobjc.A.dylib 0x00007ff80200142b objc_exception_throw + 48\n\t2 CoreFoundation 0x00007ff8025032f6 -[NSException raise] + 9\n\t3 WebDriverAgentLib 0x000000010905d016 -[FBRoute raiseNoSessionException] + 86\n\t4 WebDriverAgentLib 0x000000010905cf63 -[FBRoute decorateRequest:] + 259\n\t5 WebDriverAgentLib 0x000000010905c39a -[FBRoute_TargetAction mountRequest:intoResponse:] + 90\n\t6 WebDriverAgentLib 0x0000000109055aa8 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 776\n\t7 WebDriverAgentLib 0x000000010904f19d -[RoutingHTTPServer handleRoute:withRequest:response:] + 189\n\t8 WebDriverAgentLib 0x000000010904fee1 __72-[RoutingHTTPServer routeMethod:withPat...
[debug] �[38;5;96m[W3C]�[0m Matched W3C error code 'invalid session id' to NoSuchDriverError
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at errorFromW3CJsonCode (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:1059:25)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:928:14)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at WDAMacProxy.command (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:353:19)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElOrEls (/Users/admin/.appium/node_modules/appium-mac2-driver/lib/commands/find.js:17:10)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElOrElsWithProcessing (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:60:12)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.findElement (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/basedriver/commands/find.ts:75:12)
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/element �[39m�[33m404�[39m �[90m8 ms - 1014�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mGET�[39m �[37m/sessions�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Calling AppiumDriver.getSessions() with args: []
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Responding to client with driver.getSessions() result: [{"id":"3a22204e-c801-49f0-bfa3-335b71038c2b","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"8bee5faf-c224-4edf-9607-3f040a5269ab","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"227210b3-e145-464b-a060-dfa45d4fadea","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"725f0a91-c6f3-4c31-be24-b7130e51b80f","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"62fa0dbf-97a4-47dd-9862-43ce743920c2","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"ef8258e1...
�[38;5;0m[HTTP]�[0m �[37m<-- GET /sessions �[39m�[32m200�[39m �[90m3 ms - 1217�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mGET�[39m �[37m/sessions�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Calling AppiumDriver.getSessions() with args: []
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Responding to client with driver.getSessions() result: [{"id":"3a22204e-c801-49f0-bfa3-335b71038c2b","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"8bee5faf-c224-4edf-9607-3f040a5269ab","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"227210b3-e145-464b-a060-dfa45d4fadea","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"725f0a91-c6f3-4c31-be24-b7130e51b80f","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"62fa0dbf-97a4-47dd-9862-43ce743920c2","capabilities":{"platformName":"mac","automationName":"Mac2","bundleId":"us.zoom.xos","deviceName":"10.100.89.17","newCommandTimeout":3600,"noReset":true}},{"id":"ef8258e1...
�[38;5;0m[HTTP]�[0m �[37m<-- GET /sessions �[39m�[36m304�[39m �[90m2 ms - -�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mPOST�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/execute/sync�[39m
�[38;5;0m[HTTP]�[0m �[90m{"script":"macos: screenshots","args":[]}�[39m
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.execute() with args: ["macos: screenshots",[],"ef8258e1-1863-4856-b6f5-28d1d280d6b8"]
�[38;5;112m[Mac2Driver]�[0m Executing extension command 'macos: screenshots'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [POST /wda/screenshots] to [POST http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F/wda/screenshots] with body: {}
�[38;5;80m[WD Proxy]�[0m Got response with status 404: {"value":{"error":"invalid session id","message":"Session does not exist","traceback":"(\n\t0 CoreFoundation 0x00007ff8024db18a __exceptionPreprocess + 242\n\t1 libobjc.A.dylib 0x00007ff80200142b objc_exception_throw + 48\n\t2 CoreFoundation 0x00007ff8025032f6 -[NSException raise] + 9\n\t3 WebDriverAgentLib 0x000000010905d016 -[FBRoute raiseNoSessionException] + 86\n\t4 WebDriverAgentLib 0x000000010905cf63 -[FBRoute decorateRequest:] + 259\n\t5 WebDriverAgentLib 0x000000010905c39a -[FBRoute_TargetAction mountRequest:intoResponse:] + 90\n\t6 WebDriverAgentLib 0x0000000109055aa8 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 776\n\t7 WebDriverAgentLib 0x000000010904f19d -[RoutingHTTPServer handleRoute:withRequest:response:] + 189\n\t8 WebDriverAgentLib 0x000000010904fee1 __72-[RoutingHTTPServer routeMethod:withPat...
[debug] �[38;5;96m[W3C]�[0m Matched W3C error code 'invalid session id' to NoSuchDriverError
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Encountered internal error running command: NoSuchDriverError: Session does not exist
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at errorFromW3CJsonCode (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:1059:25)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at ProxyRequestError.getActualError (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/protocol/errors.js:928:14)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at WDAMacProxy.command (/usr/local/lib/node_modules/appium/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:353:19)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at processTicksAndRejections (node:internal/process/task_queues:95:5)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.macosScreenshots (/Users/admin/.appium/node_modules/appium-mac2-driver/lib/commands/screenshots.js:28:10)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.executeMacosCommand (/Users/admin/.appium/node_modules/appium-mac2-driver/lib/commands/execute.js:54:10)
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m at Mac2Driver.execute (/Users/admin/.appium/node_modules/appium-mac2-driver/lib/commands/execute.js:44:12)
�[38;5;0m[HTTP]�[0m �[37m<-- POST /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8/execute/sync �[39m�[33m404�[39m �[90m23 ms - 970�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
�[38;5;0m[HTTP]�[0m �[37m-->�[39m �[37mDELETE�[39m �[37m/session/ef8258e1-1863-4856-b6f5-28d1d280d6b8�[39m
�[38;5;0m[HTTP]�[0m �[90m{}�[39m
[debug] �[38;5;48m[Mac2Driver@6137 (ef8258e1)]�[0m Calling AppiumDriver.deleteSession() with args: ["ef8258e1-1863-4856-b6f5-28d1d280d6b8"]
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Event 'quitSessionRequested' logged at 1701914495657 (10:01:35 GMT+0800 (China Standard Time))
�[38;5;16m[AppiumDriver@2e2e]�[0m Removing session ef8258e1-1863-4856-b6f5-28d1d280d6b8 from our master session list
[debug] �[38;5;80m[WD Proxy]�[0m Matched '/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F' to command name 'deleteSession'
[debug] �[38;5;80m[WD Proxy]�[0m Proxying [DELETE /session/7AFF776F-4FBA-41BC-954F-5335FD682E7F] to [DELETE http://127.0.0.1:10100/session/7AFF776F-4FBA-41BC-954F-5335FD682E7F] with no body
�[38;5;80m[WD Proxy]�[0m Got response with status 404: {"value":{"error":"invalid session id","message":"Session does not exist","traceback":"(\n\t0 CoreFoundation 0x00007ff8024db18a __exceptionPreprocess + 242\n\t1 libobjc.A.dylib 0x00007ff80200142b objc_exception_throw + 48\n\t2 CoreFoundation 0x00007ff8025032f6 -[NSException raise] + 9\n\t3 WebDriverAgentLib 0x000000010905d016 -[FBRoute raiseNoSessionException] + 86\n\t4 WebDriverAgentLib 0x000000010905cf63 -[FBRoute decorateRequest:] + 259\n\t5 WebDriverAgentLib 0x000000010905c39a -[FBRoute_TargetAction mountRequest:intoResponse:] + 90\n\t6 WebDriverAgentLib 0x0000000109055aa8 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 776\n\t7 WebDriverAgentLib 0x000000010904f19d -[RoutingHTTPServer handleRoute:withRequest:response:] + 189\n\t8 WebDriverAgentLib 0x000000010904fee1 __72-[RoutingHTTPServer routeMethod:withPat...
[debug] �[38;5;96m[W3C]�[0m Matched W3C error code 'invalid session id' to NoSuchDriverError
�[38;5;64m[WebDriverAgentMac]�[0m Mac2Driver session cannot be deleted. Original error: Session does not exist
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Event 'quitSessionFinished' logged at 1701914495663 (10:01:35 GMT+0800 (China Standard Time))
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Received response: null
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m But deleting session, so not returning
[debug] �[38;5;16m[AppiumDriver@2e2e]�[0m Responding to client with driver.deleteSession() result: null
�[38;5;0m[HTTP]�[0m �[37m<-- DELETE /session/ef8258e1-1863-4856-b6f5-28d1d280d6b8 �[39m�[32m200�[39m �[90m8 ms - 14�[39m
�[38;5;0m[HTTP]�[0m �[90m�[39m
The text was updated successfully, but these errors were encountered: