How to clear pre-filled text box value using java in appium? I have tried all possible solution available on Internet but not works for me

I have used .clear() and .sendKey() both method and it’s working fine in Android 6.0 and below version. but it does not working after Android 7.0 or above version.

Here is my code,

driver.findElement(By.id(“com.example.appName:id/text_user_name”)).clear();
driver.findElement(By.id(“com.example.appName:id/text_user_name”)).sendKeys(“Automation”);
I’m trying to automate my android application using below configuration:

Appium-Desktop 1.7.2.

selenium-java 3.8.1

selenium-server 3.8.1

java-client 5.0.2

Hi @abhishekgaur4feb,

Have you tried setting automationName as UiAutomator2 in desiredCapabilities for Android 7.0 or above?

Might help

I am using this:
DesiredCapabilities cap=new DesiredCapabilities();
cap.setCapability(“deviceName”, devicename);
cap.setCapability(“platformVersion”, platformVersion);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“automationName”,“UiAutomator2”);
cap.setCapability(“skipUnlock”, false);
cap.setCapability(“autoGrantPermissions”,“true”);
cap.setCapability(“appPackage”, “com.samsung.android.contacts”);
cap.setCapability(“appActivity”, “com.android.dialer.DialtactsActivity”);
driver=new AndroidDriver(new URL(“http://192.168.253.1:4723/wd/hub”), cap);

Here are my logs

[info] [Appium] Welcome to Appium v1.7.2
[info] [Appium] Non-default server args:
[info] [Appium] address: 192.168.253.1
[info] [Appium] Appium REST http interface listener started on 192.168.253.1:4723[info] [HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:“true”,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“requiredCapabilities”:{},“capabilities”:{“desiredCapabilities”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:“true”,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“requiredCapabilities”:{},“alwaysMatch”:{“platformName”:“Android”},“firstMatch”:[]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:“true”,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},{},{“desiredCapabilities”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:“true”,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“requiredCapabilities”:{},“alwaysMatch”:{“platformName”:“Android”},“firstMatch”:[]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1523605663608 (13:17:43 GMT+0530 (India Standard Time))
[info] [Appium] Merged W3C capabilities {“desiredCapabilities”:{“appPackage”:“com.samsu… into desiredCapabilities object {“appPackage”:“com.samsung.android.contacts”,“a…
[info] [Appium] Creating new AndroidUiautomator2Driver (v0.11.0) session
[info] [Appium] Capabilities:
[info] [Appium] appPackage: com.samsung.android.contacts
[info] [Appium] appActivity: com.android.dialer.DialtactsActivity
[info] [Appium] no-reset: true
[info] [Appium] platformVersion: 7.0
[info] [Appium] automationName: UiAutomator2
[info] [Appium] full-reset: false
[info] [Appium] skipUnlock: false
[info] [Appium] autoGrantPermissions: true
[info] [Appium] platformName: Android
[info] [Appium] deviceName: 4200a6e5de69740d
[warn] [BaseDriver] Capability ‘autoGrantPermissions’ changed from string to boolean. This may cause unexpected behavior
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: no-reset, full-reset.
[info] [BaseDriver] Session created with session id: d5447459-bf3f-45e2-8ba7-4034600c7a00[debug] [AndroidDriver] Getting Java version[info] [AndroidDriver] Java version is: 1.8.0_151
[info] [ADB] Checking whether adb is present
[info] [AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[info] [AndroidDriver] Looking for a device with Android ‘7.0’
[debug] [ADB] Setting device id to 4200a6e5de69740d
[info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices…[debug] [ADB] Current device property ‘ro.build.version.release’: 7.0
[info] [AndroidDriver] Using device: 4200a6e5de69740d
[info] [ADB] Checking whether adb is present
[debug] [ADB] Setting device id to 4200a6e5de69740d
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: [”-P”,5037,"-s",“4200a6e5de69740d”,“shell”,“getprop”,“ro.build.version.sdk”][debug] [ADB] Current device property ‘ro.build.version.sdk’: 24
[debug] [ADB] Device API level: 24
[warn] [AndroidDriver] No app sent in, not parsing package/activity
[info] [ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“getprop”,“ro.build.version.release”][debug] [ADB] Current device property ‘ro.build.version.release’: 7.0
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“wm”,“size”][debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“wm”,“density”][debug] [ADB] Getting connected devices…[debug] [ADB] Current device property ‘ro.product.model’: SM-G615F
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“getprop”,“ro.product.manufacturer”][debug] [ADB] Current device property ‘ro.product.manufacturer’: samsung
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”][info] [ADB] Checking whether aapt is present[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“list”,“packages”,“io.appium.uiautomator2.server”][debug] [ADB] App is installed
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“list”,“packages”,“io.appium.uiautomator2.server.test”][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“package”,“io.appium.uiautomator2.server”][debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“list”,“instrumentation”][debug] [UiAutomator2] Instrumentation ‘io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’ available
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“wait-for-device”]
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“echo”,“ping”]
[warn] [AndroidDriver] setDeviceLanguageCountry requires language or country.
[warn] [AndroidDriver] Got language: ‘undefined’ and country: ‘undefined’
[debug] [Logcat] Starting logcat capture[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“list”,“packages”,“io.appium.settings”][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.settings
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“package”,“io.appium.settings”][info] [ADB] Checking whether aapt is present[debug] [ADB] The installed ‘io.appium.settings’ package does not require upgrade (5 >= 5)
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“package”,“io.appium.settings”][debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“dump”,“io.appium.settings”][debug] [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,;
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“grant”,“io.appium.settings”,“android.permission.WRITE_SETTINGS”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.ACCESS_MOCK_LOCATION”,";"][debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“grant”,“io.appium.settings”,“android.permission.WRITE_SETTINGS”,";",“pm”,“grant”,“io.appium.settings”,“android.permission.ACCESS_MOCK_LOCATION”,";"][debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“ps”][debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“start”,"-W","-n",“io.appium.settings/.Settings”,"-a",“android.intent.action.MAIN”,"-c",“android.intent.category.LAUNCHER”,"-f",“0x10200000”][debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“appops”,“set”,“io.appium.settings”,“android:mock_location”,“allow”]
[debug] [AndroidDriver] Pushing unlock helper app to device…
[debug] [ADB] Getting install status for io.appium.unlock
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“list”,“packages”,“io.appium.unlock”][debug] [ADB] App is installed
[debug] [ADB] Getting package info for io.appium.unlock
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“package”,“io.appium.unlock”][info] [ADB] Checking whether aapt is present[debug] [ADB] The installed ‘io.appium.unlock’ package does not require upgrade (2 >= 2)
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“forward”,“tcp:8200”,“tcp:6790”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“window”][info] [AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk undefined undefined C:\Users\MILLEN~1\AppData\Local\Temp\com.samsung.android.contacts
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices…[debug] [ADB] Current device property ‘persist.sys.locale’: en-GB[debug] [ADB] No strings.xml for language ‘en’, getting default strings.xml[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“rm”,"-rf","/data/local/tmp/strings.json"][debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [AndroidDriver] Running fast reset (stop and clear)
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“force-stop”,“com.samsung.android.contacts”][debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“clear”,“com.samsung.android.contacts”][debug] [ADB] Checking app cert for undefined
[debug] [ADB] ‘undefined’ doesn’t exist
[debug] [ADB] Device API level: 24
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“dumpsys”,“package”,“com.samsung.android.contacts”]
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“dump”,“com.samsung.android.contacts”][debug] [ADB] Got the following command chunks to execute: pm,grant,com.samsung.android.contacts,android.permission.DEVICE_POWER,;,pm,grant,com.samsung.android.contacts,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,com.samsung.android.contacts,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,com.samsung.android.contacts,android.permission.READ_EXTERNAL_STORAGE,;,pm,grant,com.samsung.android.contacts,android.permission.READ_CALENDAR,;,pm,grant,com.samsung.android.contacts,android.permission.VOIP_INTERFACE,;,pm,grant,com.samsung.android.contacts,android.permission.REQUEST_SCLOUD,;,pm,grant,com.samsung.android.contacts,android.permission.WRITE_EXTERNAL_STORAGE,;
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.DEVICE_POWER”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.ACCESS_FINE_LOCATION”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.ACCESS_COARSE_LOCATION”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.READ_EXTERNAL_STORAGE”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.READ_CALENDAR”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.VOIP_INTERFACE”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.REQUEST_SCLOUD”,";",“pm”,“grant”,“com.samsung.android.contacts”,“android.permission.WRITE_EXTERNAL_STORAGE”,";"][debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”][info] [UiAutomator2] Starting uiautomator2 server v0.3.0
[info] [UiAutomator2] Running command: ‘adb -s 4200a6e5de69740d shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner’
[info] [UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online…
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8200/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“SESSIONID”,“status”:0,“value”:“Status Invoked”}”
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8200/wd/hub/session] with body: {“desiredCapabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”,“deviceUDID”:“4200a6e5de69740d”,“deviceScreenSize”:“1080x1920”,“deviceScreenDensity”:420,“deviceModel”:“SM-G615F”,“deviceManufacturer”:“samsung”}}[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“start”,"-W","-n",“com.samsung.android.contacts/com.android.dialer.DialtactsActivity”,"-S"][info] [Appium] New AndroidUiautomator2Driver session created successfully, session d5447459-bf3f-45e2-8ba7-4034600c7a00 added to master session list
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1523605725958 (13:18:45 GMT+0530 (India Standard Time))
[debug] [MJSONWP] Responding to client with driver.createSession() result: {“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”}
[info] [HTTP] <-- POST /wd/hub/session 200 62354 ms - 369
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”,“deviceUDID”:“4200a6e5de69740d”,“deviceScreenSize”:“1080x1920”,“deviceScreenDensity”:420,“deviceModel”:“SM-G615F”,“deviceManufacturer”:“samsung”}
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00 200 3 ms - 1016
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00 {}
[debug] [MJSONWP] Calling AppiumDriver.getSession() with args: [“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [MJSONWP] Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”},“appPackage”:“com.samsung.android.contacts”,“appActivity”:“com.android.dialer.DialtactsActivity”,“no-reset”:“true”,“platformVersion”:“7.0”,“automationName”:“UiAutomator2”,“full-reset”:“false”,“skipUnlock”:false,“autoGrantPermissions”:true,“platformName”:“Android”,“deviceName”:“4200a6e5de69740d”,“deviceUDID”:“4200a6e5de69740d”,“deviceScreenSize”:“1080x1920”,“deviceScreenDensity”:420,“deviceModel”:“SM-G615F”,“deviceManufacturer”:“samsung”}
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00 200 1 ms - 1016 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.ImageView[@index=‘0’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.ImageView[@index=‘0’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.ImageView[@index=‘0’]",“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“dba3930f-19ae-4e94-a997-dcefd77e4099”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“dba3930f-19ae-4e94-a997-dcefd77e4099”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 341 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/dba3930f-19ae-4e94-a997-dcefd77e4099/click {“id”:“dba3930f-19ae-4e94-a997-dcefd77e4099”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“dba3930f-19ae-4e94-a997-dcefd77e4099”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/dba3930f-19ae-4e94-a997-dcefd77e4099/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/dba3930f-19ae-4e94-a997-dcefd77e4099/click] with body: {“element”:“dba3930f-19ae-4e94-a997-dcefd77e4099”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/dba3930f-19ae-4e94-a997-dcefd77e4099/click 200 52 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘Settings’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.TextView[@text=‘Settings’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘Settings’]",“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“627c56ba-8d38-4587-9cc9-9518c3b4bf13”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“627c56ba-8d38-4587-9cc9-9518c3b4bf13”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 106 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/627c56ba-8d38-4587-9cc9-9518c3b4bf13/click {“id”:“627c56ba-8d38-4587-9cc9-9518c3b4bf13”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“627c56ba-8d38-4587-9cc9-9518c3b4bf13”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/627c56ba-8d38-4587-9cc9-9518c3b4bf13/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/627c56ba-8d38-4587-9cc9-9518c3b4bf13/click] with body: {“element”:“627c56ba-8d38-4587-9cc9-9518c3b4bf13”}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/627c56ba-8d38-4587-9cc9-9518c3b4bf13/click 200 1690 ms - 76 [info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/window/current/size {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/window/current/size] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/window/current/size] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“height”:1920,“width”:1080}}”
[info] [JSONWP Proxy] Replacing sessionId c266f0e2-ecb4-41ad-a86f-e10e7652a758 with d5447459-bf3f-45e2-8ba7-4034600c7a00
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/window/current/size 200 46 ms - 100
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/touch/perform {“actions”:[{“action”:“press”,“options”:{“x”:540,“y”:960}},{“action”:“moveTo”,“options”:{“x”:0,“y”:-720}},{“action”:“release”,“options”:{}}]}
[debug] [MJSONWP] Calling AppiumDriver.performTouch() with args: [[{“action”:“press”,“options”:{“x”:540,“y”:960}},{“action”:“moveTo”,“options”:{“x”:0,“y”:-720}},{“action”:“release”,“options”:{}}],“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /touch/down] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/touch/down] with body: {“params”:{“x”:540,“y”:960}}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [JSONWP Proxy] Proxying [POST /touch/move] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/touch/move] with body: {“params”:{“x”:540,“y”:240}}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [JSONWP Proxy] Proxying [POST /touch/up] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/touch/up] with body: {“params”:{“x”:540,“y”:240}}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.performTouch() result: null
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/touch/perform 200 139 ms - 76
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘More settings’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.TextView[@text=‘More settings’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘More settings’]",“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“5b94643b-07d6-42e2-8017-2c85ad4f53e5”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“5b94643b-07d6-42e2-8017-2c85ad4f53e5”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 1225 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/5b94643b-07d6-42e2-8017-2c85ad4f53e5/click {“id”:“5b94643b-07d6-42e2-8017-2c85ad4f53e5”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“5b94643b-07d6-42e2-8017-2c85ad4f53e5”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/5b94643b-07d6-42e2-8017-2c85ad4f53e5/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/5b94643b-07d6-42e2-8017-2c85ad4f53e5/click] with body: {“element”:“5b94643b-07d6-42e2-8017-2c85ad4f53e5”}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/5b94643b-07d6-42e2-8017-2c85ad4f53e5/click 200 40 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘Call forwarding’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.TextView[@text=‘Call forwarding’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘Call forwarding’]",“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“522955b4-fe6a-43f0-8bfa-38e6a35d02ad”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“522955b4-fe6a-43f0-8bfa-38e6a35d02ad”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 115 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/522955b4-fe6a-43f0-8bfa-38e6a35d02ad/click {“id”:“522955b4-fe6a-43f0-8bfa-38e6a35d02ad”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“522955b4-fe6a-43f0-8bfa-38e6a35d02ad”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/522955b4-fe6a-43f0-8bfa-38e6a35d02ad/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/522955b4-fe6a-43f0-8bfa-38e6a35d02ad/click] with body: {“element”:“522955b4-fe6a-43f0-8bfa-38e6a35d02ad”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/522955b4-fe6a-43f0-8bfa-38e6a35d02ad/click 200 67 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘Voice call’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.TextView[@text=‘Voice call’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘Voice call’]",“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“d6e76ef5-3bad-46db-9bf3-d24680984465”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“d6e76ef5-3bad-46db-9bf3-d24680984465”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 73 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/d6e76ef5-3bad-46db-9bf3-d24680984465/click {“id”:“d6e76ef5-3bad-46db-9bf3-d24680984465”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“d6e76ef5-3bad-46db-9bf3-d24680984465”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/d6e76ef5-3bad-46db-9bf3-d24680984465/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/d6e76ef5-3bad-46db-9bf3-d24680984465/click] with body: {“element”:“d6e76ef5-3bad-46db-9bf3-d24680984465”}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/d6e76ef5-3bad-46db-9bf3-d24680984465/click 200 1520 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/elements {“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘Always forward’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElements() with args: [“xpath”,"//android.widget.TextView[@text=‘Always forward’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /elements] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/elements] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘Always forward’]",“context”:"",“multiple”:true}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:[{“ELEMENT”:“b8c7ad3d-04d0-4485-a955-3ee282050eed”}]}
[debug] [MJSONWP] Responding to client with driver.findElements() result: [{“ELEMENT”:“b8c7ad3d-04d0-4485-a955-3ee282050eed”}]
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/elements 200 101 ms - 124
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/displayed {}
[debug] [MJSONWP] Calling AppiumDriver.elementDisplayed() with args: [“b8c7ad3d-04d0-4485-a955-3ee282050eed”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [GET /element/b8c7ad3d-04d0-4485-a955-3ee282050eed/attribute/displayed] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/attribute/displayed] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“true”}”
[debug] [MJSONWP] Responding to client with driver.elementDisplayed() result: true
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/displayed 200 40 ms - 76
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/enabled {}
[debug] [MJSONWP] Calling AppiumDriver.elementEnabled() with args: [“b8c7ad3d-04d0-4485-a955-3ee282050eed”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [GET /element/b8c7ad3d-04d0-4485-a955-3ee282050eed/attribute/enabled] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/attribute/enabled] with body: {}[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“true”}”
[debug] [MJSONWP] Responding to client with driver.elementEnabled() result: true
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/enabled 200 38 ms - 76
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/click {“id”:“b8c7ad3d-04d0-4485-a955-3ee282050eed”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“b8c7ad3d-04d0-4485-a955-3ee282050eed”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/b8c7ad3d-04d0-4485-a955-3ee282050eed/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/click] with body: {“element”:“b8c7ad3d-04d0-4485-a955-3ee282050eed”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/b8c7ad3d-04d0-4485-a955-3ee282050eed/click 200 59 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“03916a32-c170-43e0-8a04-ee5be3c3ee47”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“03916a32-c170-43e0-8a04-ee5be3c3ee47”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 100 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/03916a32-c170-43e0-8a04-ee5be3c3ee47/value {“id”:“03916a32-c170-43e0-8a04-ee5be3c3ee47”,“value”:[""]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[""],“03916a32-c170-43e0-8a04-ee5be3c3ee47”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/03916a32-c170-43e0-8a04-ee5be3c3ee47/value] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/03916a32-c170-43e0-8a04-ee5be3c3ee47/value] with body: {“elementId”:“03916a32-c170-43e0-8a04-ee5be3c3ee47”,“text”:"",“replace”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/03916a32-c170-43e0-8a04-ee5be3c3ee47/value 200 1024 ms - 74
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“2a923381-69cc-467f-8a63-561c2c9cf43f”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“2a923381-69cc-467f-8a63-561c2c9cf43f”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 797 ms - 122
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/2a923381-69cc-467f-8a63-561c2c9cf43f/text {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/2a923381-69cc-467f-8a63-561c2c9cf43f/text] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/2a923381-69cc-467f-8a63-561c2c9cf43f/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“7845218752”}”
[info] [JSONWP Proxy] Replacing sessionId c266f0e2-ecb4-41ad-a86f-e10e7652a758 with d5447459-bf3f-45e2-8ba7-4034600c7a00
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/2a923381-69cc-467f-8a63-561c2c9cf43f/text 200 39 ms - 84
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“1060331e-172e-4fb2-a92b-99db8c6898f7”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“1060331e-172e-4fb2-a92b-99db8c6898f7”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 47 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/1060331e-172e-4fb2-a92b-99db8c6898f7/clear {“id”:“1060331e-172e-4fb2-a92b-99db8c6898f7”}
[debug] [MJSONWP] Calling AppiumDriver.clear() with args: [“1060331e-172e-4fb2-a92b-99db8c6898f7”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [GET /element/1060331e-172e-4fb2-a92b-99db8c6898f7/text] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/1060331e-172e-4fb2-a92b-99db8c6898f7/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“7845218752”}”
[debug] [JSONWP Proxy] Proxying [POST /element/1060331e-172e-4fb2-a92b-99db8c6898f7/click] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/1060331e-172e-4fb2-a92b-99db8c6898f7/click] with body: {“element”:“1060331e-172e-4fb2-a92b-99db8c6898f7”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [AndroidDriver] Sending up to 10 clear characters to device
[debug] [AndroidDriver] Sending 10 clear characters to device
[debug] [ADB] Clearing up to 10 characters
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“input”,“keyevent”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”,“67”,“112”][debug] [MJSONWP] Responding to client with driver.clear() result: null
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/1060331e-172e-4fb2-a92b-99db8c6898f7/clear 200 1906 ms - 76 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“f70fe674-1d30-43b3-bae4-144644a649cd”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“f70fe674-1d30-43b3-bae4-144644a649cd”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 59 ms - 122
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/f70fe674-1d30-43b3-bae4-144644a649cd/text {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/f70fe674-1d30-43b3-bae4-144644a649cd/text] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/f70fe674-1d30-43b3-bae4-144644a649cd/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“7845218752”}”
[info] [JSONWP Proxy] Replacing sessionId c266f0e2-ecb4-41ad-a86f-e10e7652a758 with d5447459-bf3f-45e2-8ba7-4034600c7a00
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/f70fe674-1d30-43b3-bae4-144644a649cd/text 200 33 ms - 84
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“c77f44e5-06ca-4412-8b24-59350db280b1”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“c77f44e5-06ca-4412-8b24-59350db280b1”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 46 ms - 122
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/c77f44e5-06ca-4412-8b24-59350db280b1/value {“id”:“c77f44e5-06ca-4412-8b24-59350db280b1”,“value”:[“9560038686”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“9560038686”],“c77f44e5-06ca-4412-8b24-59350db280b1”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [JSONWP Proxy] Proxying [POST /element/c77f44e5-06ca-4412-8b24-59350db280b1/value] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/c77f44e5-06ca-4412-8b24-59350db280b1/value] with body: {“elementId”:“c77f44e5-06ca-4412-8b24-59350db280b1”,“text”:“9560038686”,“replace”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/c77f44e5-06ca-4412-8b24-59350db280b1/value 200 940 ms - 74
[info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“id”,“value”:“com.android.phone:id/voicemail_dialog”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.android.phone:id/voicemail_dialog”,“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“id”,“selector”:“com.android.phone:id/voicemail_dialog”,“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:{“ELEMENT”:“af831ae4-daf7-456d-90a8-c94ac5a6eca2”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“af831ae4-daf7-456d-90a8-c94ac5a6eca2”}
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element 200 770 ms - 122
[info] [HTTP] --> GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/af831ae4-daf7-456d-90a8-c94ac5a6eca2/text {}
[info] [MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/af831ae4-daf7-456d-90a8-c94ac5a6eca2/text] to [GET http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element/af831ae4-daf7-456d-90a8-c94ac5a6eca2/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“78452187529560038686”}”
[info] [JSONWP Proxy] Replacing sessionId c266f0e2-ecb4-41ad-a86f-e10e7652a758 with d5447459-bf3f-45e2-8ba7-4034600c7a00
[info] [HTTP] <-- GET /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/af831ae4-daf7-456d-90a8-c94ac5a6eca2/text 200 40 ms - 94 [info] [HTTP] --> POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element {“using”:“xpath”,“value”:"//android.widget.Button[@text=‘ENABLE’]"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.Button[@text=‘ENABLE’]",“d5447459-bf3f-45e2-8ba7-4034600c7a00”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[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] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.Button[@text=‘ENABLE’]",“context”:"",“multiple”:false}[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[info] [HTTP] <-- POST /wd/hub/session/d5447459-bf3f-45e2-8ba7-4034600c7a00/element/f316f088-935e-4d91-ae6c-4c0c23d030a5/click 200 48 ms - 76 [warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [UiAutomator2] Deleting UiAutomator2 session
[warn] [Appium] Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[info] [Appium] Removing session d5447459-bf3f-45e2-8ba7-4034600c7a00 from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8200/wd/hub/session/c266f0e2-ecb4-41ad-a86f-e10e7652a758] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“c266f0e2-ecb4-41ad-a86f-e10e7652a758”,“status”:0,“value”:“Session deleted”}”
[debug] [ADB] Getting connected devices…[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“shell”,“am”,“force-stop”,“com.samsung.android.contacts”][debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running ‘C:\Appium\platform-tools\adb.exe’ with args: ["-P",5037,"-s",“4200a6e5de69740d”,“forward”,"–remove",“tcp:8200”]
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:.
[debug] [UiAutomator2] [UIAutomator2] Time: 110.101
[debug] [UiAutomator2] [UIAutomator2] OK (1 test)