Skip to content

Instantly share code, notes, and snippets.

@MummanaSubramanya
Created September 24, 2018 16:57
Show Gist options
  • Save MummanaSubramanya/a9da59af5ed54e5372f7f760ebbc8fd6 to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/a9da59af5ed54e5372f7f760ebbc8fd6 to your computer and use it in GitHub Desktop.
Select Failed Logs
[HTTP] {"using":"xpath","value":"//div[normalize-space(.)='Country']/following-sibling::select"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element] to [POST http://127.0.0.1:8000/wd/hub/session/349a9f567eb66a4ba488730880903399/element] with body: {"using":"xpath","value":"//div[normalize-space(.)='Country']/following-sibling::select"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"349a9f567eb66a4ba488730880903399","status":0,"value":{"ELEMENT":"0.41801345028197545-8"}}
[JSONWP Proxy] Replacing sessionId 349a9f567eb66a4ba488730880903399 with a36a05d3-14fe-448b-a5f9-b0efde066969
[HTTP] <-- POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element 200 212 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name' to command name 'getName'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name] to [GET http://127.0.0.1:8000/wd/hub/session/349a9f567eb66a4ba488730880903399/element/0.41801345028197545-8/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"349a9f567eb66a4ba488730880903399\",\"status\":0,\"value\":\"select\"}"
[JSONWP Proxy] Replacing sessionId 349a9f567eb66a4ba488730880903399 with a36a05d3-14fe-448b-a5f9-b0efde066969
[HTTP] <-- GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name 200 58 ms - 80
[HTTP]
[HTTP] --> GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name
[HTTP] {}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name' to command name 'getName'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name] to [GET http://127.0.0.1:8000/wd/hub/session/349a9f567eb66a4ba488730880903399/element/0.41801345028197545-8/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"349a9f567eb66a4ba488730880903399\",\"status\":0,\"value\":\"select\"}"
[JSONWP Proxy] Replacing sessionId 349a9f567eb66a4ba488730880903399 with a36a05d3-14fe-448b-a5f9-b0efde066969
[HTTP] <-- GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/element/0.41801345028197545-8/name 200 31 ms - 80
[HTTP]
[HTTP] --> POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute/sync
[HTTP] {"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsuppo
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute/sync' to command name 'execute'
[Protocol Converter] Rewrote the original URL '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute/sync' to '/wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute' for MJSONWP protocol
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute] to [POST http://127.0.0.1:8000/wd/hub/session/349a9f567eb66a4ba488730880903399/execute] with body: {"script":"return (function(){return function(){var d=this;function f(a){return\"string\"==typeof a};function h(a,b){this.code=a;this.a=l[a]||m;this.message=b||\"\";a=this.a.replace(/((?:^|\\s+)[a-z])/g,function(a){return a.toUpperCase().replace(/^[\\s\\xa0]+/g,\"\")});b=a.length-5;if(0>b||a.indexOf(\"Error\",b)!=b)a+=\"Error\";this.name=a;a=Error(this.message);a.name=this.name;this.stack=a.stack||\"\"}\n(function(){var a=Error;function b(){}b.prototype=a.prototype;h.b=a.prototype;h.prototype=new b;h.prototype.constructor=h;h.a=function(b,c,g){for(var e=Array(arguments.length-2),k=2;k<arguments.length;k++)e[k-2]=arguments[k];return a.prototype[c].apply(b,e)}})();var m=\"unknown error\",l={15:\"element not selectable\",11:\"element not visible\"};l[31]=m;l[30]=m;l[24]=\"invalid cookie domain\";l[29]=\"invalid element coordinates\";l[12]=\"invalid element state\";l[32]=\"invalid selector\";l[51]=\"invalid selector\";\nl[52]=\"invalid selector\";l[17]=\"javascript error\";l[405]=\"unsupported operation\";l[34...
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"349a9f567eb66a4ba488730880903399","status":13,"value":{"message":"unknown error: a.getAttributeNode is not a function\n (Session info: chrome=68.0.3440.91)\n (Driver info: chromedriver=2.35 (0),platform=Linux 4.14.50-v7+ armv7l)"}}
[debug] [W3C] Encountered internal error running command: ProxyRequestError: Could not proxy command to remote server. Original error: The request to /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute has failed
[debug] [W3C] at JWProxy.proxy$ (/home/pi/node_modules/appium/node_modules/appium-base-driver/lib/jsonwp-proxy/proxy.js:182:13)
[debug] [W3C] at tryCatch (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
[debug] [W3C] at GeneratorFunctionPrototype.invoke [as _invoke] (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
[debug] [W3C] at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
[debug] [W3C] at GeneratorFunctionPrototype.invoke (/home/pi/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [W3C] at <anonymous>
[debug] [MJSONWP] Matched JSONWP error code 13 to UnknownError
[HTTP] <-- POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/execute/sync 500 233 ms - 1515
[HTTP]
[HTTP] --> GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/screenshot
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getScreenshot() with args: ["a36a05d3-14fe-448b-a5f9-b0efde066969"]
[debug] [ADB] Device API level: 23
[debug] [W3C] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAeACAYAAAArYecKAACAAElEQVR4AezBCXzU9YH4/c/3d81MZibX5CAgBIIHIEoqp2AraNV2qSfRerQarALarVr36T67/97rs9s+3V13W1vb1drE9agFLFSxtVUrXtSj0XiASpHDIIGQmUkmmes38/t9nyfbV9wxEm6SmeT7fosd/INEURRFURRFURRFURSlgGkoiqIoiqIoiqIoiqIUOA1FURRFURRFURRFUZQCp6EoiqIoiqIoiqIoilLgNBRFURRFURRFURRFUQqchqIoiqIoiqIoiqIoSoHTUBRFURRFURRFURRFKXAaiqIoiqIoiqIoiqIoBU5DURRFURRFURRFURSlwGkoiqIoiqIoiqIoiqIUOA1FURRFURRFURRFUZQCp6EoiqIoiqIoiqIoilLgDBRlBBMeA+E10Mp8aNUBjIllGBPLwJWk/vgedms7OC6KoijHklbmw/PJidiv7sLZ2c2R0McVY80ch/3qLpyd3SiKoiiKoih/ZaAoI4UQGJPKKLr4ZIwTQphTq9DHFaOVeBElXoSugeBDMuuSXP0Wkb99BDeSQFEU5Vjxf+ETlP3n5+j+7lN03/ZHkJLDIgT+L3yC0n85j967XyayYi2KoiiKoijKXxnkKyHQSjxoJV4wdQ6aECAlR0QIkJKPkSATNm44gbQdlDyiCQLXzqLsh+cjikwOhjB1ii4/FfO0sXR8+h6cnd0cFCFAFwhdA10gPAbCb+FGEshkFqRE+Shh6YgiE7crhfJxwtIRRSZuVwrl44SlI4pM3K4UhcqNJEATmPU1CI+OTGU5HMKj41lQC5rA7U6jKIoymglTRxR76KOFihiMG07QR8bSyIyDUriMySG0Mh+HyvmgG2dvHLIuyshmkI90Dd/fnETwq2dgfWIsWokHhGDYOS7Z97tJrt1I93eexI2lUfKD//IZlP34AoTH4JAIgXliBRUPXUHHeb9Axm3QBELXQBdgaGglXvSxxehjizEm...
[HTTP] <-- GET /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/screenshot 200 5153 ms - 811768
[HTTP]
[HTTP] --> POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/appium/app/close
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.closeApp() with args: ["a36a05d3-14fe-448b-a5f9-b0efde066969"]
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 05e5eb3622d7ad04 shell am force-stop com.essent.flix'
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.essent.flix
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/349a9f567eb66a4ba488730880903399] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"349a9f567eb66a4ba488730880903399\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
[debug] [W3C] Responding to client with driver.closeApp() result: null
[HTTP] <-- POST /wd/hub/session/a36a05d3-14fe-448b-a5f9-b0efde066969/appium/app/close 200 1979 ms - 14
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment