Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save MummanaSubramanya/8b35a4388667a44e6aa20aac0d9b89d5 to your computer and use it in GitHub Desktop.
Save MummanaSubramanya/8b35a4388667a44e6aa20aac0d9b89d5 to your computer and use it in GitHub Desktop.
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
[debug] [AndroidDriver] u0_a207 552 3401 3635876 359952 0 0 S com.xxx.xxx
[debug] [AndroidDriver] Returning process name: 'com.xxx.xxx'
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.xxx.xxx","WEBVIEW_chrome"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.xxx.xxx","WEBVIEW_chrome"]
[debug] [W3C] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/context 200 446 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/element
[HTTP] {"using":"xpath","value":"//*[@text='Devices config.']/../android.widget.Button"}
[debug] [W3C] Calling AppiumDriver.findElement() with args: ["xpath","//*[@text='Devices config.']/../android.widget.Button","75a512a0-1ce9-4f78-a383-cb938e2fd264"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//*[@text='Devices config.']/../android.widget.Button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":"//*[@text='Devices config.']/../android.widget.Button","context":"","multiple":false}}
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//*[@text='Devices config.']/../android.widget.Button' using 'XPATH' with the contextId: '' multiple: false
[HTTP] <-- POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/element - - ms - -
[HTTP]
[HTTP] --> GET /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/context
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getCurrentContext() with args: ["75a512a0-1ce9-4f78-a383-cb938e2fd264"]
[HTTP] <-- GET /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/context - - ms - -
[HTTP]
[HTTP] --> GET /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/screenshot
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.getScreenshot() with args: ["75a512a0-1ce9-4f78-a383-cb938e2fd264"]
[HTTP] <-- GET /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/screenshot - - ms - -
[HTTP]
[HTTP] --> POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/appium/app/close
[HTTP] {}
[debug] [W3C] Calling AppiumDriver.closeApp() with args: ["75a512a0-1ce9-4f78-a383-cb938e2fd264"]
[HTTP] <-- POST /wd/hub/session/75a512a0-1ce9-4f78-a383-cb938e2fd264/appium/app/close - - ms - -
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment