Skip to content

Instantly share code, notes, and snippets.

@zastress
Created September 27, 2019 06:40
Show Gist options
  • Save zastress/f33141acfd94744ed005871987acd029 to your computer and use it in GitHub Desktop.
Save zastress/f33141acfd94744ed005871987acd029 to your computer and use it in GitHub Desktop.
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.getPageSource() with args: ["be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'getPageSource'
[debug] [WD Proxy] Matched '/source' to command name 'getPageSource'
[debug] [WD Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/source] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<XCUIElementTypeApplication type=\"XCUIElementTypeApplication\" name=\"Work Team\" label=\"Work Team\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeWindow type=\"XCUIElementTypeWindow\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeNavigationBar type=\"XCUIElementTypeNavigationBar\" name=\"Sign up\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"20\" width=\"375\" height=\"44\">\n <XCUIElementTypeButton type=\"XCUIElementTypeButton\" name=\"Create my account\" label=\"Create my account\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"20\" width=\"44\" he...
[debug] [MJSONWP (be477d71)] Responding to client with driver.getPageSource() result: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><AppiumAUT><XCUIElementTypeApplication type=\"XCUIElementTypeApplication\" name=\"Work Team\" label=\"Work Team\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeWindow type=\"XCUIElementTypeWindow\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeOther type=\"XCUIElementTypeOther\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"0\" width=\"375\" height=\"667\">\n <XCUIElementTypeNavigationBar type=\"XCUIElementTypeNavigationBar\" name=\"Sign up\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"20\" width=\"375\" height=\"44\">\n <XCUIElementTypeButton type=\"XCUIElementTypeButton\" name=\"Create my account\" label=\"Create my account\" enabled=\"true\" visible=\"true\" x=\"0\" y=\"20\" width=\"44\" height=...
[HTTP] <-- GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/source 200 706 ms - 6292
[HTTP]
[HTTP] --> POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/elements
[HTTP] {"using":"accessibility id","sessionId":"be477d71-76bd-4b2c-8640-e0ee264997e1","value":"profile_firstname_textfield"}
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.findElements() with args: ["accessibility id","profile_firstname_textfield","be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/elements] with body: {"using":"accessibility id","value":"profile_firstname_textfield"}
[debug] [WD Proxy] Got response with status 200: {"value":[{"ELEMENT":"13010000-0000-0000-E212-000000000000","element-6066-11e4-a52e-4f735466cecf":"13010000-0000-0000-E212-000000000000"}],"sessionId":"E96C3E19-19D2-4AA5-86F4-26645A2079BB"}
[debug] [MJSONWP (be477d71)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"13010000-0000-0000-E212-000000000000","ELEMENT":"13010000-0000-0000-E212-000000000000"}]
[HTTP] <-- POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/elements 200 140 ms - 201
[HTTP]
[HTTP] --> GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/displayed
[HTTP] {}
[MJSONWP (be477d71)] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [WD Proxy] Matched '/wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/displayed' to command name 'elementDisplayed'
[debug] [WD Proxy] Proxying [GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/displayed] to [GET http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/element/13010000-0000-0000-E212-000000000000/displayed] with body: {}
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : true,
[debug] [WD Proxy] "sessionId" : "E96C3E19-19D2-4AA5-86F4-26645A2079BB"
[debug] [WD Proxy] }
[WD Proxy] Replacing sessionId E96C3E19-19D2-4AA5-86F4-26645A2079BB with be477d71-76bd-4b2c-8640-e0ee264997e1
[HTTP] <-- GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/displayed 200 149 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/elements
[HTTP] {"using":"accessibility id","sessionId":"be477d71-76bd-4b2c-8640-e0ee264997e1","value":"profile_firstname_textfield"}
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.findElements() with args: ["accessibility id","profile_firstname_textfield","be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'findElements'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [WD Proxy] Matched '/elements' to command name 'findElements'
[debug] [WD Proxy] Proxying [POST /elements] to [POST http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/elements] with body: {"using":"accessibility id","value":"profile_firstname_textfield"}
[debug] [WD Proxy] Got response with status 200: {"value":[{"ELEMENT":"13010000-0000-0000-E212-000000000000","element-6066-11e4-a52e-4f735466cecf":"13010000-0000-0000-E212-000000000000"}],"sessionId":"E96C3E19-19D2-4AA5-86F4-26645A2079BB"}
[debug] [MJSONWP (be477d71)] Responding to client with driver.findElements() result: [{"element-6066-11e4-a52e-4f735466cecf":"13010000-0000-0000-E212-000000000000","ELEMENT":"13010000-0000-0000-E212-000000000000"}]
[HTTP] <-- POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/elements 200 148 ms - 201
[HTTP]
[HTTP] --> POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/value
[HTTP] {"text":"User","sessionId":"be477d71-76bd-4b2c-8640-e0ee264997e1","id":"13010000-0000-0000-E212-000000000000","value":["U","s","e","r"]}
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.setValue() with args: [["U","s","e","r"],"13010000-0000-0000-E212-000000000000","be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'setValue'
[debug] [WD Proxy] Matched '/element/13010000-0000-0000-E212-000000000000/value' to command name 'setValue'
[debug] [Protocol Converter] Added 'text' property "User" to 'setValue' request body
[debug] [WD Proxy] Proxying [POST /element/13010000-0000-0000-E212-000000000000/value] to [POST http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/element/13010000-0000-0000-E212-000000000000/value] with body: {"value":["U","s","e","r"],"text":"User"}
[WD Proxy] Got an unexpected response with status 500: {"value":{"error":"unknown error","message":"An unknown server-side error occurred while processing the command","traceback":""},"sessionId":"E96C3E19-19D2-4AA5-86F4-26645A2079BB"}
[debug] [W3C] Matched W3C error code 'unknown error' to UnknownError
[debug] [WD Proxy] Matched '/element/13010000-0000-0000-E212-000000000000/attribute/type' to command name 'getAttribute'
[debug] [WD Proxy] Proxying [GET /element/13010000-0000-0000-E212-000000000000/attribute/type] to [GET http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/element/13010000-0000-0000-E212-000000000000/attribute/type] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : "XCUIElementTypeOther",
[debug] [WD Proxy] "sessionId" : "E96C3E19-19D2-4AA5-86F4-26645A2079BB"
[debug] [WD Proxy] }
[debug] [MJSONWP (be477d71)] Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command
[debug] [MJSONWP (be477d71)] at errorFromW3CJsonCode (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:802:25)
[debug] [MJSONWP (be477d71)] at ProxyRequestError.errorFromW3CJsonCode [as getActualError] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/protocol/errors.js:685:14)
[debug] [MJSONWP (be477d71)] at JWProxy.getActualError [as command] (/usr/local/lib/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:259:19)
[HTTP] <-- POST /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/element/13010000-0000-0000-E212-000000000000/value 500 2008 ms - 237
[HTTP]
[HTTP] --> GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/screenshot
[HTTP] {}
[debug] [MJSONWP (be477d71)] Calling AppiumDriver.getScreenshot() with args: ["be477d71-76bd-4b2c-8640-e0ee264997e1"]
[debug] [XCUITest] Executing command 'getScreenshot'
[debug] [XCUITest] Taking screenshot with WDA
[debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot'
[debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://localhost:8100/session/E96C3E19-19D2-4AA5-86F4-26645A2079BB/screenshot] with no body
[debug] [WD Proxy] Got response with status 200: {
[debug] [WD Proxy] "value" : "iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAIAAABFtaRRAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAAFXMr1K0ekAAEAASURBVHgB\r\n7N0FuF3HdT58Q7BNm0LapGlTTtOUmf+lNDEzxShbZmaIOYnDYFssmSnG2I7ZjiGm\r\nmCkGkZnZspjP9zvntXfvJ6qufG3do7v0zDOaPbNmzZp3r5l5z+zZ+640a\/bcCoVA\r\nIVAIFAKFQCGwgiEwY85cYfqc+Qkz5syfNWf2vFkzWzOnt2ZMa82YIp43e9rs2TOn\r\nzps9Zd7c6XN7FybNb02e1+pUnE3JvFnThfmzps+ZPdOltmbMmT19bjvMmDtTePfg\r\nXendU12aC4FCoBAoBAqBQmB5IdChMvMxmCawZM6s2fNnzmzN6LCZmdOQD7QDiZk6\r\nl1h7a2Pp4ynzWlPntvAkVSjBYPAkQRP+yWy4EU6D2bx7OBSVqU2pQqAQKAQKgUJg\r\nhURg\/uxZCa1Zs1shNPgEnjGvQ2hwGonZbfpi56Y1Z9b8eTPnL308e1ZLoIkGAYOh\r\nbd5MifkyKUR0MCRcp9Pou4hwUZl3Edx3j4GW5kKgECgECoFCYMkItBnGrDY1ETqc\r\no72D0uYWc9tbL3Nmze3QjjYLWTYq05o+f\/6MjvLOSZUOm2nzGG3NmN2aOqc1pU1l\r\n2o0yA0lasrXvpLSoTFGZQqAQKAQKgUJgRURgTvtBT2cD5q2dkinz5k+a3w4S6EvI\r\nR4fKtI\/ULP2jpUi2ps9tzQgTypmYYIiyoC9tHtM5SdPeDUKb5s98FxEuKvM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O2c9qHV+bPbD/3ocoR3Tda8wVsxvZM82wo51rEvQqo\r\nTJugzJndPjU8vx13KE6bytiVcZIGlekcwclZ4zr2W69ZFQKFQCFQCBQChUBvEJg6\r\n...
[HTTP] <-- GET /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1/screenshot 200 79 ms - 320166
[HTTP]
[HTTP] --> DELETE /wd/hub/session/be477d71-76bd-4b2c-8640-e0ee264997e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment