Skip to content

Instantly share code, notes, and snippets.

[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.4180134
@MummanaSubramanya
MummanaSubramanya / gist:8b35a4388667a44e6aa20aac0d9b89d5
Created October 15, 2018 13:19
C# Appium 4.0.0.4-beta Testscript Freezes
[HTTP] --> POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/context
[HTTP] {"name":"NATIVE_APP"}
[debug] [W3C] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","75a512a0-1ce9-4f78-a383-cb938e2fd264"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell cat /proc/net/unix'
[debug] [AndroidDriver] WEBVIEW_552 mapped to pid 552
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Running 'C:\AndroidSDK\platform-tools\adb.exe -P 5037 -s ce0718276bf16a2901 shell ps'
[debug] [AndroidDriver] Parsed pid: '552' pkg: 'com.xxx.xxx' from
[debug] [AndroidDriver] USER PID PPID VSZ RSS WCHAN ADDR S NAME
Message: Test method xxx.Mobile.Tests.Features.FP_Home_App.xxxWindFeature.ARegistrationOfSingleSmart threw exception: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://127.0.0.1:4723/wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/screenshot timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out. Assert.Fail failed. 2018-Oct-15 15:16:10:### Assert.Fail failed. 2018-Oct-15 15:16:10:Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException: Assert.Fail failed. 2018-Oct-15 15:16:10:### Exception: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://127.0.0.1:4723/wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/appium/app/close timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out. at System.Net.HttpWebRequest.GetResponse() at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpReq
@MummanaSubramanya
MummanaSubramanya / gist:9ebc61a8cd6e2e5adcf60a70a6df48d2
Created October 23, 2018 11:02
An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server.
[Appium] New AndroidUiautomator2Driver session created successfully, session e4db4bd8-1212-4eee-8890-d1f40abff721 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1540292152712 (12:55:52 GMT+0200 (Romance Daylight Time))
[debug] [W3C] Cached the protocol value 'W3C' for the new session e4db4bd8-1212-4eee-8890-d1f40abff721
[debug] [W3C] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","automationName":"UIAutomator2","platformVersion":"8.0","deviceName":"Galaxy S8","printPageSourceOnFindFailure":true,"appPackage":"com.xxx.xxx","appActivity":".MainActivity","autoWebview":true,"nativeWebScreenshot":true,"newCommandTimeout":500,"chromedriverUseSystemExecutable":false},"platformName":"Android","automationName":"UIAutomator2","pl
[HTTP] {"text":"Test123.","value":["T","e","s","t","1","2","3","."]}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Matched '/wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value' to command name 'setValue'
[JSONWP Proxy] Proxying [POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value] to [POST http://127.0.0.1:8000/wd/hub/session/bc3d4c85c3b7c1518a244f0d0d751667/element/0.6355064402770774-2/value] with body: {"text":"Test123.","value":["T","e","s","t","1","2","3","."]}
[JSONWP Proxy] Got response with status 200: {"sessionId":"bc3d4c85c3b7c1518a244f0d0d751667","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId bc3d4c85c3b7c1518a244f0d0d751667 with 14b3e190-ea43-453f-b5f8-598dbe4a7695
[HTTP] <-- POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/element/0.6355064402770774-2/value 200 725 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/14b3e190-ea43-453f-b5f8-598dbe4a7695/appium/device/hide_key
[HTTP] {"using":"xpath","value":"//div[text()='Add new device']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element] to [POST http://127.0.0.1:8000/wd/hub/session/7059b930fcae924c09d99c68d0382c95/element] with body: {"using":"xpath","value":"//div[text()='Add new device']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"7059b930fcae924c09d99c68d0382c95","status":0,"value":{"ELEMENT":"0.4815048232588317-10"}}
[JSONWP Proxy] Replacing sessionId 7059b930fcae924c09d99c68d0382c95 with 5b0660ec-5a87-4f71-9211-f0b7695a6921
[HTTP] <-- POST /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element 200 101 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/5b0660ec-5a87-4f71-9211-f0b7695a6921/element/0.4815048232588317-10/rect
[HTTP] {}
HTTP] {"using":"xpath","value":"//div[text()='Add new device']"}
[W3C] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Matched '/wd/hub/session/684bca84-b454-4a72-b17c-a02ca17f5697/element' to command name 'findElement'
[JSONWP Proxy] Proxying [POST /wd/hub/session/684bca84-b454-4a72-b17c-a02ca17f5697/element] to [POST http://127.0.0.1:8011/wd/hub/session/2d1da17a1aa20525287fa7e0fc0cbaa2/element] with body: {"using":"xpath","value":"//div[text()='Add new device']"}
[JSONWP Proxy] Got response with status 200: {"sessionId":"2d1da17a1aa20525287fa7e0fc0cbaa2","status":0,"value":{"ELEMENT":"0.7664160946645968-10"}}
[JSONWP Proxy] Replacing sessionId 2d1da17a1aa20525287fa7e0fc0cbaa2 with 684bca84-b454-4a72-b17c-a02ca17f5697
[HTTP] <-- POST /wd/hub/session/684bca84-b454-4a72-b17c-a02ca17f5697/element 200 201 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/684bca84-b454-4a72-b17c-a02ca17f5697/element/0.7664160946645968-10/rect
[HTTP] {}
[HTTP] {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[W3C (32d21c9e)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/32d21c9e-eb9f-410e-b996-12293c216e60/element] to [POST http://127.0.0.1:8000/wd/hub/session/2c79e97bfc7528be3fc6a04821393021/element] with body: {"using":"xpath","value":"//button[normalize-space(.)='Login']"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"2c79e97bfc7528be3fc6a04821393021","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.80)\n (Driver info: chromedriver=2.35 (0),platform=Linux 4.14.62-v7+ armv7l)"}}
[JSONWP Proxy] Got an unexpected response: {"sessionId":"2c79e97bfc7528be3fc6a04821393021","status":100,"value":{"message":"chrome not reachable\n (Session info: chrome=70.0.3538.80)\n (Driver info: chromedriver=2.35 (0
[HTTP] <-- POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element/0.8624228701626402-6/click 200 302 ms - 76
[HTTP] 
[HTTP] --> POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element
[HTTP] {"using":"xpath","value":"//div[@ng-repeat='rows in configurationGridList | gridList:3']/div//p[text()='Profile']"}
[W3C (99706897)] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Matched '/wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element' to command name 'findElement'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/99706897-6cfa-43d8-aece-6b884deb4c31/element] to [POST http://127.0.0.1:8001/wd/hub/session/9cb4945a33285050f4bcc83183d26bc7/element] with body: {"using":"xpath","value":"//div[@ng-repeat='rows in configurationGridList | gridList:3']/div//p[text()='Profile']"}
[Chromedriver] [STDERR] [
[Chromedriver] [STDERR] }
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/home/pi/android-sdk-linux/platform-tools/adb -P 5037 -s 5200defef0714537 forward --remove tcp\:8200'
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[debug] [UiAutomator2] [UIAutomator2] Time: 21.099
[debug] [UiAutomator2] [UIAutomator2] OK (1 test)
[Chromedriver] [STDERR] [1541422864.852][SEVERE]: Unable to receive message from renderer
[Chromedriver] [STDERR] [1541422864.867][INFO]: Waiting for pending navigations...
[Chromedriver] [STDERR] [1541422864.872][INFO]: Done waiting for pending navigations. Status: disconnected: not connected to DevTools