How to resolve the error at Element

image

Try:

import static io.appium.java_client.touch.offset.ElementOption.element;

You have more info in:


Facing issue while scrolling down to a particular element.
im using Testng 6.14.2
appium 6.0.0.Beta4
selenium 3.11.0

The server is running

[Appium] Welcome to Appium v1.7.2
[Appium] Non-default server args:
[Appium] address: 127.0.0.1
[Appium] Appium REST http interface listener started on 127.0.0.1:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:“100”,“platformName”:“Android”},“capabilities”:{“desiredCapabilities”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:“100”,“platformName”:“Android”},“firstMatch”:[{“platformName”:“android”}]}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:“100”,“platformName”:“Android”},null,{“desiredCapabilities”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:“100”,“platformName”:“Android”},“firstMatch”:[{“platformName”:“android”}]}]
[BaseDriver] Event ‘newSessionRequested’ logged at 1525694829309 (17:37:09 GMT+0530 (India Standard Time))
[Appium] Merged W3C capabilities {“desiredCapabilities”:{“app”:“C:\Users\yelle… into desiredCapabilities object {“app”:“C:\Users\yelletimahesh_r\eclipse-wor…
[Appium] Creating new AndroidDriver (v1.37.0) session
[Appium] Capabilities:
[Appium] app: C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk
[Appium] deviceName: Android device
[Appium] newCommandTimeout: 100
[Appium] platformName: android
[BaseDriver] Capability ‘newCommandTimeout’ changed from string (‘100’) to integer (100). This may cause unexpected behavior
[BaseDriver] Session created with session id: c308ca08-0308-4ab2-a226-4659630fe989
[AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_171
[ADB] Checking whether adb is present
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[AndroidDriver] Using device: ce0117110d56283605
[ADB] Checking whether adb is present
[ADB] Setting device id to ce0117110d56283605
[BaseDriver] Using local app ‘C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk’
[AndroidDriver] Checking whether app is actually present
[AndroidDriver] Starting Android session
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: [”-P”,5037,"-s",“ce0117110d56283605”,“wait-for-device”]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“echo”,“ping”]
[AndroidDriver] setDeviceLanguageCountry requires language or country.
[AndroidDriver] Got language: ‘undefined’ and country: ‘undefined’
[Logcat] Starting logcat capture
[AndroidDriver] Pushing settings apk to device…
[ADB] Getting install status for io.appium.settings
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“list”,“packages”,“io.appium.settings”]
[ADB] App is installed
[ADB] Getting package info for io.appium.settings
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“dumpsys”,“package”,“io.appium.settings”]
[ADB] Checking whether aapt is present
[ADB] The installed ‘io.appium.settings’ package does not require upgrade (5 >= 5)
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“getprop”,“ro.build.version.sdk”]
[ADB] Current device property ‘ro.build.version.sdk’: 24
[ADB] Device API level: 24
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“dumpsys”,“package”,“io.appium.settings”]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“dump”,“io.appium.settings”]
[ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“grant”,“io.appium.settings”,“android.permission.WRITE_SETTINGS”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.ACCESS_MOCK_LOCATION”,";"]
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“grant”,“io.appium.settings”,“android.permission.WRITE_SETTINGS”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.ACCESS_MOCK_LOCATION”,";"]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ps”]
[ADB] Device API level: 24
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“appops”,“set”,“io.appium.settings”,“android:mock_location”,“allow”]
[AndroidDriver] Pushing unlock helper app to device…
[ADB] Getting install status for io.appium.unlock
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“list”,“packages”,“io.appium.unlock”]
[ADB] App is installed
[ADB] Getting package info for io.appium.unlock
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“dumpsys”,“package”,“io.appium.unlock”]
[ADB] Checking whether aapt is present
[ADB] The installed ‘io.appium.unlock’ package does not require upgrade (2 >= 2)
[ADB] Getting device platform version
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“getprop”,“ro.build.version.release”]
[ADB] Current device property ‘ro.build.version.release’: 7.0
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“wm”,“size”]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“getprop”,“ro.product.model”]
[ADB] Current device property ‘ro.product.model’: SM-G930F
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“getprop”,“ro.product.manufacturer”]
[ADB] Current device property ‘ro.product.manufacturer’: samsung
[AndroidDriver] Parsing package and activity from app manifest
[ADB] Checking whether aapt is present
[ADB] Extracting package and launch activity from manifest
[ADB] badging package: com.photon.metlifepol
[ADB] badging act: com.photon.metlifepol.MainActivity
[AndroidDriver] Parsed package and activity are: com.photon.metlifepol/com.photon.metlifepol.MainActivity
[AndroidDriver] Remote apk path is /data/local/tmp/f1550227eb8a7de334e888760d4fcf27.apk
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ls”,"/data/local/tmp/f1550227eb8a7de334e888760d4fcf27.apk"]
[AndroidDriver] Checking if app is installed
[ADB] Getting install status for com.photon.metlifepol
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“list”,“packages”,“com.photon.metlifepol”]
[ADB] App is installed
[AndroidDriver] Apk is already on remote and installed, resetting
[AndroidDriver] Running fast reset (stop and clear)
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“force-stop”,“com.photon.metlifepol”]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“pm”,“clear”,“com.photon.metlifepol”]
[AndroidDriver] Extracting strings from apk C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk undefined C:\Users\YELLET~1\AppData\Local\Temp\com.photon.metlifepol
[ADB] Extracting strings for language: default
[ADB] Device API level: 24
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“getprop”,“persist.sys.locale”]
[ADB] Current device property ‘persist.sys.locale’: ja-JP
[ADB] Reading strings from converted strings.json
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“push”,“C:\Users\YELLET~1\AppData\Local\Temp\com.photon.metlifepol\strings.json”,"/data/local/tmp"]
[AndroidBootstrap] Watching for bootstrap disconnect
[ADB] Forwarding system: 4724 to device: 4724
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“forward”,“tcp:4724”,“tcp:4724”]
[UiAutomator] Starting UiAutomator
[UiAutomator] Moving to state ‘starting’
[UiAutomator] Parsing uiautomator jar
[UiAutomator] Found jar name: ‘AppiumBootstrap.jar’
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“push”,“C:\Users\yelletimahesh_r\app-1.5.0\resources\app\node_modules\appium\node_modules\appium-android-bootstrap\bootstrap\bin\AppiumBootstrap.jar”,"/data/local/tmp/"]
[ADB] Attempting to kill all uiautomator processes
[ADB] Getting all processes with uiautomator
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ps”]
[ADB] Attempting to kill process 25556
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“kill”,"-0",25556]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“kill”,25556]
[UiAutomator] UiAutomator exited unexpectedly with code 4294967183, signal null
[UiAutomator] Moving to state ‘stopped’
[AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was ‘UiAUtomator shut down unexpectedly’
[Appium] Removing session 133ebdf4-38c8-44ae-8f58-3884b675fca0 from our master session list
[AndroidDriver] Stopping chromedriver for context WEBVIEW_com.photon.metlifepol
[Chromedriver] Changed state to ‘stopping’
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/38e4990dd410cfe7e738631f1a980d9c] with no body
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“38e4990dd410cfe7e738631f1a980d9c”,“status”:0,“value”:null}”
[Chromedriver] Changed state to ‘stopped’
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“force-stop”,“com.photon.metlifepol”]
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“kill”,25556]
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“kill”,25556]
[UiAutomator] Starting UIAutomator
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“uiautomator”,“runtest”,“AppiumBootstrap.jar”,"-c",“io.appium.android.bootstrap.Bootstrap”,"-e",“pkg”,“com.photon.metlifepol”,"-e",“disableAndroidWatchers”,false,"-e",“acceptSslCerts”,false]
[ADB] Pressing the HOME button
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“input”,“keyevent”,3]
[UiAutomator] Moving to state ‘online’
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] Android bootstrap socket is now connected
[ADB] Getting connected devices…
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“dumpsys”,“window”]
[AndroidDriver] Screen already unlocked, doing nothing
[ADB] Device API level: 24
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“start”,"-W","-n",“com.photon.metlifepol/com.photon.metlifepol.MainActivity”,"-S"]
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[Logcat] Stopping logcat capture
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[ADB] Waiting up to 20000ms for activity matching pkg: ‘com.photon.metlifepol’ and activity: ‘com.photon.metlifepol.MainActivity’ to be focused
[ADB] Possible activities, to be checked: ‘com.photon.metlifepol.MainActivity’
[ADB] Getting focused package and activity
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“dumpsys”,“window”,“windows”]
[ADB] Found package: ‘com.photon.metlifepol’ and fully qualified activity name : ‘com.photon.metlifepol.MainActivity’
[Appium] New AndroidDriver session created successfully, session c308ca08-0308-4ab2-a226-4659630fe989 added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1525694847495 (17:37:27 GMT+0530 (India Standard Time))
[MJSONWP] Responding to client with driver.createSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:100,“platformName”:“android”},“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“ce0117110d56283605”,“newCommandTimeout”:100,“platformName”:“android”,“deviceUDID”:“ce0117110d56283605”,“platformVersion”:“7.0”,“deviceScreenSize”:“1440x2560”,“deviceModel”:“SM-G930F”,“deviceManufacturer”:“samsung”,“appPackage”:“com.photon.metlifepol”,“appWaitPackage”:“com.photon.metlifepol”,“appActivity”:“com.photon.metlifepol.MainActivity”,“appWaitActivity”:“com.photon.metlifepol.MainActivity”}
[HTTP] <-- POST /wd/hub/session 200 18199 ms - 938
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989 {}
[MJSONWP] Calling AppiumDriver.getSession() with args: [“c308ca08-0308-4ab2-a226-4659630fe989”]
[MJSONWP] Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:100,“platformName”:“android”},“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“ce0117110d56283605”,“newCommandTimeout”:100,“platformName”:“android”,“deviceUDID”:“ce0117110d56283605”,“platformVersion”:“7.0”,“deviceScreenSize”:“1440x2560”,“deviceModel”:“SM-G930F”,“deviceManufacturer”:“samsung”,“appPackage”:“com.photon.metlifepol”,“appWaitPackage”:“com.photon.metlifepol”,“appActivity”:“com.photon.metlifepol.MainActivity”,“appWaitActivity”:“com.photon.metlifepol.MainActivity”}
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989 200 1 ms - 938
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989 {}
[MJSONWP] Calling AppiumDriver.getSession() with args: [“c308ca08-0308-4ab2-a226-4659630fe989”]
[MJSONWP] Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“Android device”,“newCommandTimeout”:100,“platformName”:“android”},“app”:“C:\Users\yelletimahesh_r\eclipse-workspace\Last\src\Metlife-Japan.apk”,“deviceName”:“ce0117110d56283605”,“newCommandTimeout”:100,“platformName”:“android”,“deviceUDID”:“ce0117110d56283605”,“platformVersion”:“7.0”,“deviceScreenSize”:“1440x2560”,“deviceModel”:“SM-G930F”,“deviceManufacturer”:“samsung”,“appPackage”:“com.photon.metlifepol”,“appWaitPackage”:“com.photon.metlifepol”,“appActivity”:“com.photon.metlifepol.MainActivity”,“appWaitActivity”:“com.photon.metlifepol.MainActivity”}
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989 200 9 ms - 938
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/timeouts {“type”:“implicit”,“ms”:30000}
[MJSONWP] Calling AppiumDriver.timeouts() with args: [“implicit”,30000,“c308ca08-0308-4ab2-a226-4659630fe989”]
[BaseDriver] Set implicit wait to 30000ms
[MJSONWP] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/timeouts 200 1 ms - 76
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context {}
[MJSONWP] Calling AppiumDriver.getCurrentContext() with args: [“c308ca08-0308-4ab2-a226-4659630fe989”]
[MJSONWP] Responding to client with driver.getCurrentContext() result: “NATIVE_APP”
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context 200 2 ms - 84
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/contexts {}
[MJSONWP] Calling AppiumDriver.getContexts() with args: [“c308ca08-0308-4ab2-a226-4659630fe989”]
[AndroidDriver] Getting a list of available webviews
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“cat”,"/proc/net/unix"]
[AndroidDriver] WEBVIEW_26113 mapped to pid 26113
[AndroidDriver] Getting process name for webview
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ps”]
[AndroidDriver] Parsed pid: ‘26113’ pkg: ‘com.photon.metlifepol’ from
[AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME
[AndroidDriver] u0_a916 26113 3271 1459656 213888 futex_wait 0000000000 S com.photon.metlifepol
[AndroidDriver] Returning process name: ‘com.photon.metlifepol’
[AndroidDriver] Found webviews: [“WEBVIEW_com.photon.metlifepol”]
[AndroidDriver] Available contexts: [“NATIVE_APP”,“WEBVIEW_com.photon.metlifepol”]
[MJSONWP] Responding to client with driver.getContexts() result: [“NATIVE_APP”,“WEBVIEW_com.photon.metlifepol”]
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/contexts 200 351 ms - 118
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context {“name”:“WEBVIEW_com.photon.metlifepol”}
[MJSONWP] Calling AppiumDriver.setContext() with args: [“WEBVIEW_com.photon.metlifepol”,“c308ca08-0308-4ab2-a226-4659630fe989”]
[AndroidDriver] Getting a list of available webviews
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“cat”,"/proc/net/unix"]
[AndroidDriver] WEBVIEW_26113 mapped to pid 26113
[AndroidDriver] Getting process name for webview
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ps”]
[AndroidDriver] Parsed pid: ‘26113’ pkg: ‘com.photon.metlifepol’ from
[AndroidDriver] USER PID PPID VSIZE RSS WCHAN PC NAME
[AndroidDriver] u0_a916 26113 3271 1478072 221244 SyS_epoll_ 0000000000 S com.photon.metlifepol
[AndroidDriver] Returning process name: ‘com.photon.metlifepol’
[AndroidDriver] Found webviews: [“WEBVIEW_com.photon.metlifepol”]
[AndroidDriver] Available contexts: [“NATIVE_APP”,“WEBVIEW_com.photon.metlifepol”]
[AndroidDriver] Connecting to chrome-backed webview context ‘WEBVIEW_com.photon.metlifepol’
[AndroidDriver] A port was not given, using random port: 8000
[Chromedriver] Changed state to ‘starting’
[Chromedriver] Set chromedriver binary as: C:\Users\yelletimahesh_r\app-1.5.0\resources\app\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
[Chromedriver] Killing any old chromedrivers, running: FOR /F “usebackq tokens=5” %a in (netstat -nao ^| findstr /R /C:"8000 ") do (FOR /F “usebackq” %b in (TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe) do (IF NOT %b=="" TASKKILL /F /PID %a))
[Chromedriver] No old chromedrivers seemed to exist
[Chromedriver] Cleaning any old adb forwarded port socket connections
[ADB] List forwarding ports
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“forward”,"–list"]
[ADB] Removing forwarded port socket connection: 12843
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“forward”,"–remove",“tcp:12843”]
[Chromedriver] Spawning chromedriver with: C:\Users\yelletimahesh_r\app-1.5.0\resources\app\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=8000 --adb-port=5037 --verbose
[Chromedriver] Chromedriver version: ‘2.33.506120’
[JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[JSONWP Proxy] Got response with status 200: “{“sessionId”:”",“status”:0,“value”:{“build”:{“version”:“alpha”},“os”:{“arch”:“x86_64”,“name”:“Windows NT”,“version”:“6.3.9600”}}}"
[JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {“desiredCapabilities”:{“chromeOptions”:{“androidPackage”:“com.photon.metlifepol”,“androidUseRunningApp”:true,“androidDeviceSerial”:“ce0117110d56283605”}}}
[Chromedriver] Webview version: ‘Chrome/66.0.3359.126’
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“acceptSslCerts”:true,“applicationCacheEnabled”:false,“browserConnectionEnabled”:false,“browserName”:“chrome”,“chrome”:{“chromedriverVersion”:“2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f)”},“cssSelectorsEnabled”:true,“databaseEnabled”:false,“handlesAlerts”:true,“hasTouchScreen”:true,“javascriptEnabled”:true,“locationContextEnabled”:true,“mobileEmulationEnabled”:false,“nativeEvents”:true,“pageLoadStrategy”:“normal”,“platform”:“ANDROID”,“rotatable”:false,“setWindowRect”:false,“takesHeapSnapshot”:true,“takesScreenshot”:true,“unexpectedAlertBehaviour”:"",“version”:“66.0.3359.126”,“webStorageEnabled”:true}}
[Chromedriver] Changed state to ‘online’
[MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context 200 5039 ms - 76
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context {}
[MJSONWP] Calling AppiumDriver.getCurrentContext() with args: [“c308ca08-0308-4ab2-a226-4659630fe989”]
[MJSONWP] Responding to client with driver.getCurrentContext() result: “WEBVIEW_com.photon.metlifepol”
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/context 200 1 ms - 103
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//section/div[1]/a/img[@src=‘images/close-icon.svg’]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//section/div[1]/a/img[@src=‘images/close-icon.svg’]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-1”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 202 ms - 105
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-1/click {“id”:“0.771603491319852-1”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-1/click] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-1/click] with body: {“id”:“0.771603491319852-1”}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:null}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-1/click 200 439 ms - 76
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//html/body/div[1]/div/section/a"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//html/body/div[1]/div/section/a"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-2”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 156 ms - 105
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-2/enabled {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-2/enabled] to [GET http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-2/enabled] with body: {}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:true}”
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-2/enabled 200 50 ms - 76
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“serviceId”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“serviceId”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-3”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 65 ms - 105
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location] to [GET http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-3/location] with body: {}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ceil”:{},“clone”:{},“floor”:{},“round”:{},“scale”:{},“toString”:{},“translate”:{},“x”:10,“y”:278}}”
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location 200 36 ms - 171
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“serviceId”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“serviceId”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-3”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 56 ms - 105
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location] to [GET http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-3/location] with body: {}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ceil”:{},“clone”:{},“floor”:{},“round”:{},“scale”:{},“toString”:{},“translate”:{},“x”:10,“y”:278}}”
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-3/location 200 31 ms - 171
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“accountLocked”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“accountLocked”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-4”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 111 ms - 105
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location] to [GET http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-4/location] with body: {}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ceil”:{},“clone”:{},“floor”:{},“round”:{},“scale”:{},“toString”:{},“translate”:{},“x”:10,“y”:767}}”
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location 200 32 ms - 171
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“accountLocked”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“accountLocked”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-4”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 71 ms - 105
[HTTP] --> GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location] to [GET http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element/0.771603491319852-4/location] with body: {}
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ceil”:{},“clone”:{},“floor”:{},“round”:{},“scale”:{},“toString”:{},“translate”:{},“x”:10,“y”:767}}”
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- GET /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element/0.771603491319852-4/location 200 34 ms - 171
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“serviceId”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“serviceId”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-3”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 52 ms - 105
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element {“using”:“xpath”,“value”:"//[@id=“accountLocked”]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/element] with body: {“using”:“xpath”,“value”:"//
[@id=“accountLocked”]"}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:{“ELEMENT”:“0.771603491319852-4”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/element 200 61 ms - 105
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/touch/perform {“actions”:[{“action”:“press”,“options”:{“element”:“0.771603491319852-3”}},{“action”:“wait”,“options”:{“ms”:1000}},{“action”:“moveTo”,“options”:{“element”:“0.771603491319852-4”}},{“action”:“release”,“options”:{}}]}
[MJSONWP] Calling AppiumDriver.performTouch() with args: [[{“action”:“press”,“options”:{“element”:“0.771603491319852-3”}},{“action”:“wait”,“options”:{“ms”:1000}},{“action”:“moveTo”,“options”:{“element”:“0.771603491319852-4”}},{“action”:“release”,“options”:{}}],“c308ca08-0308-4ab2-a226-4659630fe989”]
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/touch/perform 501 2 ms - 122
[HTTP] --> POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/execute {“script”:“mobile: scroll”,“args”:[{“direction”:“down”}]}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[JSONWP Proxy] Proxying [POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/execute] to [POST http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a/execute] with body: {“script”:“mobile: scroll”,“args”:[{“direction”:“down”}]}
[JSONWP Proxy] Got response with status 200: {“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:13,“value”:{“message”:“unknown error: call function result missing ‘value’\n (Session info: chrome=66.0.3359.126)\n (Driver info: chromedriver=2.33.506120 (e3e53437346286c0bc2d2dc9aa4915ba81d9023f),platform=Windows NT 6.3.9600 x86_64)”}}
[JSONWP Proxy] Replacing sessionId d21155850d528371844940ca82caa85a with c308ca08-0308-4ab2-a226-4659630fe989
[HTTP] <-- POST /wd/hub/session/c308ca08-0308-4ab2-a226-4659630fe989/execute 200 55 ms - 300
[BaseDriver] Shutting down because we waited 100 seconds for a command
[AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was ‘New Command Timeout of 100 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[Appium] Removing session c308ca08-0308-4ab2-a226-4659630fe989 from our master session list
[AndroidDriver] Stopping chromedriver for context WEBVIEW_com.photon.metlifepol
[Chromedriver] Changed state to ‘stopping’
[JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/d21155850d528371844940ca82caa85a] with no body
[JSONWP Proxy] Got response with status 200: “{“sessionId”:“d21155850d528371844940ca82caa85a”,“status”:0,“value”:null}”
[Chromedriver] Changed state to ‘stopped’
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“force-stop”,“com.photon.metlifepol”]
[ADB] Pressing the HOME button
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“input”,“keyevent”,3]
[AndroidBootstrap] Sending command to android: {“cmd”:“shutdown”}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“shutdown”}
[AndroidBootstrap] Received command result from bootstrap
[UiAutomator] Shutting down UiAutomator
[UiAutomator] Moving to state ‘stopping’
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“OK, shutting down”}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=.
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=
[AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=.
[AndroidBootstrap] [UIAUTO STDOUT] Time: 111.615
[AndroidBootstrap] [UIAUTO STDOUT] OK (1 test)
[AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1
[UiAutomator] UiAutomator shut down normally
[UiAutomator] Moving to state ‘stopped’
[ADB] Attempting to kill all uiautomator processes
[ADB] Getting all processes with uiautomator
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“ps”]
[ADB] No uiautomator process found to kill, continuing…
[UiAutomator] Moving to state ‘stopped’
[Logcat] Stopping logcat capture
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘C:\Users\yelletimahesh_r\AppData\Local\Android\Sdk\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“ce0117110d56283605”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.

my code
TouchAction ts = new TouchAction(driver);
ts.press(element(driver.findElementByXPath("//[@id=“serviceId”]")))
.waitAction(waitOptions(Duration.ofMillis(1000)))
.moveTo(element(driver.findElementByXPath("//
[@id=“accountLocked”]")))
.release().perform();

Hi Taleo,
I’m trying to test a hybrid (Cordova) app that uses touchstart/touchend events in the web view.

Im stuck from past few days beacuse of this issue.please help me.

Testng logs:
org.openqa.selenium.WebDriverException: Method has not yet been implemented (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: ‘3.11.0’, revision: ‘e59cfb3’, time: ‘2018-03-11T20:33:08.638Z’
System info: host: ‘CHD118163’, ip: ‘10.100.112.15’, os.name: ‘Windows 8.1’, os.arch: ‘amd64’, os.version: ‘6.3’, java.version: ‘1.8.0_171’
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {app: C:\Users\yelletimahesh_r\ec…, appActivity: com.photon.metlifepol.MainA…, appPackage: com.photon.metlifepol, appWaitActivity: com.photon.metlifepol.MainA…, appWaitPackage: com.photon.metlifepol, databaseEnabled: false, desired: {app: C:\Users\yelletimahesh_r\ec…, deviceName: Android device, newCommandTimeout: 100, platformName: android}, deviceManufacturer: samsung, deviceModel: SM-G930F, deviceName: ce0117110d56283605, deviceScreenSize: 1440x2560, deviceUDID: ce0117110d56283605, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, newCommandTimeout: 100, platform: LINUX, platformName: LINUX, platformVersion: 7.0, takesScreenshot: true, warnings: {}, webStorageEnabled: false}
Session ID: 6176b429-5835-43eb-a544-ba31b5081694
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:129)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:545)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
at io.appium.java_client.PerformsTouchActions.performTouchAction(PerformsTouchActions.java:41)
at io.appium.java_client.TouchAction.perform(TouchAction.java:416)
at def.Testng1.promotionvideolinkenabled(Testng1.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
at org.testng.TestRunner.privateRun(TestRunner.java:648)
at org.testng.TestRunner.run(TestRunner.java:505)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
at org.testng.SuiteRunner.run(SuiteRunner.java:364)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
at org.testng.TestNG.runSuites(TestNG.java:1049)
at org.testng.TestNG.run(TestNG.java:1017)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)