Finding elements in Android Settings that was launched by app under test

I’m using Appium 1.6 to automate a native application my company builds (meaning: I have access to the source of the app as well as the developer). Our app requires certain Settings to be adjusted to function and so it launches the Settings app on the correct page so that our user can make the settings change before tapping Back twice to get back to our app. More specifically, we display a screen such as: “Now we need you to adjust the Accessibility settings” The user clicks on the “OK” button and we launch Settings with the Accessibility page. User just has to find our app name, tap on it, change the toggle setting and then go back to our app.

I have spent the equivalent of at least 10 hours trying out different methods to simply find the element on the Settings screen which corresponds to our application. I have searched the web, talked to in-house developers and come up with my own creative ideas. I don’t think my syntax is the problem. I’m guessing that either I don’t have the correct element finding strategy or else there is some issue with context.

I have tried the following (with some different tweaks to each):
element = self.driver.find_element_by_android_uiautomator(‘new UiSelector().text(String ‘appname’).instance(0)’)
element = self.driver.find_element_by_xpath(’//android.widget.TextView/android:id/title’).text('appname’)
element = self.driver.find_element_by_xpath(’//android.widget.RelativeLayout[2]/android.widget.TextView’)
elements = self.driver.find_elements_by_android_uiautomator(“new UiSelector().resourceId(“com.android.settings$AccessibilitySettingsActivity:id/title”).instance(3)”)
element = self.driver.find_element_by_class_name(“android.widget.TextView”)

Each of these results in "Could not parse UiSelector argument: String ‘appname’ is not a string
OR
The element as described could not be found.

I have read a lot about switching activities and it just doesn’t seem to apply because the application under test is launching the new activity. All I need to do is interact with it.

I’m working in Python. I’m not a developer. I’m a QA Engineer who has been working in selenium for years and Appium for over a year now.

Has anyone ever done this successfully and, if so, how?
Is this something that just isn’t doable?
Help please.
Thanks

---------------Appium Log-------------
Last login: Tue Jan 17 14:59:30 on ttys000
Jennifers-MacBook-Pro:~ jennifer$ sudo -E appium
Password:
[Appium] Welcome to Appium v1.6.3
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“requiredCapabilities”:{},“desiredCapabilities”:{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”},{},null,null,null]
[Appium] Creating new AndroidUiautomator2Driver session
[Appium] Capabilities:
[Appium] deviceName: ‘Nexus 5’
[Appium] automationName: ‘uiautomator2’
[Appium] nosign: ‘Yes’
[Appium] platformVersion: ‘6.0.1’
[Appium] appPackage: ‘com.parentsware.ourpact.child’
[Appium] platformName: ‘Android’
[Appium] appActivity: ‘com.parentsware.ourpact.child.activities.EnrollmentActivity’
[BaseDriver] The following capabilities were provided, but are not recognized by appium: nosign.
[BaseDriver] Session created with session id: 362f5ad9-7dcb-42c7-b351-c98c6749abe4
[UiAutomator2] UIAutomator2 Driver version:0.2.7
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_101
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android ‘6.0.1’
[debug] [ADB] Setting device id to 045023e50a2854e9
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.release”]
[AndroidDriver] Using device: 045023e50a2854e9
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb
[debug] [ADB] Setting device id to 045023e50a2854e9
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.release”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”]
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“wait-for-device”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“echo”,“ping”]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“install”,"/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device…
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“install”,"/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8202
[debug] [ADB] Forwarding system: 8202 to device: 6790
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“forward”,“tcp:8202”,“tcp:6790”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“dumpsys”,“window”]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk null null /var/folders/9v/x6_bbt7x65g79_f256tflqhm0000gn/T/com.parentsware.ourpact.child
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.sdk”]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“persist.sys.locale”]
[debug] [ADB] Current device property ‘persist.sys.locale’: en-US
[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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“com.parentsware.ourpact.child”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“pm”,“clear”,“com.parentsware.ourpact.child”]
[debug] [ADB] APK doesn’t exist. null
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/jennifer/Documents/android-sdk-macosx/build-tools/25.0.1/aapt
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“pm”,“list”,“packages”,“io.appium.uiautomator2.server.test”]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/jennifer/Documents/android-sdk-macosx/build-tools/25.0.1/aapt
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“dumpsys”,“package”,“io.appium.uiautomator2.server”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”]
[UiAutomator2] Starting uiautomator2 server v0.1.1 with cmd: am,instrument,-w,io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner
[UiAutomator2] running command…
adb -s 045023e50a2854e9 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner…
[UiAutomator2] Waiting for UiAutomator2 to be online…
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/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:8202/wd/hub/session] with body: {“desiredCapabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”},“deviceName”:“045023e50a2854e9”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”,“deviceUDID”:“045023e50a2854e9”}}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:“Created Session”}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.parentsware.ourpact.child/com.parentsware.ourpact.child.activities.EnrollmentActivity’. Starting it ourselves
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“start”,"-W","-n",“com.parentsware.ourpact.child/com.parentsware.ourpact.child.activities.EnrollmentActivity”,"-S","-a",“android.intent.action.MAIN”,"-c",“android.intent.category.LAUNCHER”,"-f",“0x10200000”]
[Appium] New AndroidUiautomator2Driver session created successfully, session 362f5ad9-7dcb-42c7-b351-c98c6749abe4 added to master session list
[debug] [MJSONWP] Responding to client with driver.createSession() result: {“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”}
[HTTP] <-- POST /wd/hub/session 200 15215 ms - 315
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/timeouts/implicit_wait {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“ms”:30000}
[debug] [MJSONWP] Calling AppiumDriver.implicitWait() with args: [30000,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/timeouts/implicit_wait 200 6 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“b2aa74b2-518f-48c3-bc19-b5ce49afecbe”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“b2aa74b2-518f-48c3-bc19-b5ce49afecbe”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 281 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/b2aa74b2-518f-48c3-bc19-b5ce49afecbe/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“b2aa74b2-518f-48c3-bc19-b5ce49afecbe”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“b2aa74b2-518f-48c3-bc19-b5ce49afecbe”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/b2aa74b2-518f-48c3-bc19-b5ce49afecbe/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/b2aa74b2-518f-48c3-bc19-b5ce49afecbe/click] with body: {“element”:“b2aa74b2-518f-48c3-bc19-b5ce49afecbe”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/b2aa74b2-518f-48c3-bc19-b5ce49afecbe/click 200 3129 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_email”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_email”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_email”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“8ba01541-8bca-4411-bc39-6b7d03773be5”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“8ba01541-8bca-4411-bc39-6b7d03773be5”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 20 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/8ba01541-8bca-4411-bc39-6b7d03773be5/value {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“8ba01541-8bca-4411-bc39-6b7d03773be5”,“value”:[“j”,“e”,“n”,“n”,“i”,“f”,“e”,“r”,"@",“p”,“a”,“r”,“e”,“n”,“t”,“s”,“w”,“a”,“r”,“e”,".",“c”,“o”,“m”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“j”,“e”,“n”,“n”,“i”,“f”,“e”,“r”,"@",“p”,“a”,“r”,“e”,“n”,“t”,“s”,“w”,“a”,“r”,“e”,".",“c”,“o”,“m”],“8ba01541-8bca-4411-bc39-6b7d03773be5”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/8ba01541-8bca-4411-bc39-6b7d03773be5/value] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/8ba01541-8bca-4411-bc39-6b7d03773be5/value] with body: {“elementId”:“8ba01541-8bca-4411-bc39-6b7d03773be5”,“text”:“[email protected]”,“replace”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/8ba01541-8bca-4411-bc39-6b7d03773be5/value 200 51 ms - 74
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_password”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_password”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_password”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“829a0228-fb0a-48ad-88a5-9218dd8d7b22”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“829a0228-fb0a-48ad-88a5-9218dd8d7b22”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 539 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/829a0228-fb0a-48ad-88a5-9218dd8d7b22/value {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“829a0228-fb0a-48ad-88a5-9218dd8d7b22”,“value”:[“m”,“o”,“o”,“s”,“e”,“n”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“m”,“o”,“o”,“s”,“e”,“n”],“829a0228-fb0a-48ad-88a5-9218dd8d7b22”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/829a0228-fb0a-48ad-88a5-9218dd8d7b22/value] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/829a0228-fb0a-48ad-88a5-9218dd8d7b22/value] with body: {“elementId”:“829a0228-fb0a-48ad-88a5-9218dd8d7b22”,“text”:“moosen”,“replace”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/829a0228-fb0a-48ad-88a5-9218dd8d7b22/value 200 57 ms - 74
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_login”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“85673ab4-eb8a-4ebe-afa8-4a538debee5a”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“85673ab4-eb8a-4ebe-afa8-4a538debee5a”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 503 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/85673ab4-eb8a-4ebe-afa8-4a538debee5a/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“85673ab4-eb8a-4ebe-afa8-4a538debee5a”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“85673ab4-eb8a-4ebe-afa8-4a538debee5a”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/85673ab4-eb8a-4ebe-afa8-4a538debee5a/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/85673ab4-eb8a-4ebe-afa8-4a538debee5a/click] with body: {“element”:“85673ab4-eb8a-4ebe-afa8-4a538debee5a”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/85673ab4-eb8a-4ebe-afa8-4a538debee5a/click 200 769 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“13c1c5fd-5e31-4299-a042-9e22a92d24de”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“13c1c5fd-5e31-4299-a042-9e22a92d24de”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 24 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/13c1c5fd-5e31-4299-a042-9e22a92d24de/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“13c1c5fd-5e31-4299-a042-9e22a92d24de”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“13c1c5fd-5e31-4299-a042-9e22a92d24de”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/13c1c5fd-5e31-4299-a042-9e22a92d24de/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/13c1c5fd-5e31-4299-a042-9e22a92d24de/click] with body: {“element”:“13c1c5fd-5e31-4299-a042-9e22a92d24de”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/13c1c5fd-5e31-4299-a042-9e22a92d24de/click 200 3127 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.android.packageinstaller:id/permission_allow_button”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“0395c25a-bacb-4504-a27f-89ce9e810549”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“0395c25a-bacb-4504-a27f-89ce9e810549”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 32 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/0395c25a-bacb-4504-a27f-89ce9e810549/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“0395c25a-bacb-4504-a27f-89ce9e810549”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“0395c25a-bacb-4504-a27f-89ce9e810549”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/0395c25a-bacb-4504-a27f-89ce9e810549/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/0395c25a-bacb-4504-a27f-89ce9e810549/click] with body: {“element”:“0395c25a-bacb-4504-a27f-89ce9e810549”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/0395c25a-bacb-4504-a27f-89ce9e810549/click 200 1052 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_location_done”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_location_done”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_location_done”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“22290b77-cb79-4da7-be30-2dab6d8fbf9c”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“22290b77-cb79-4da7-be30-2dab6d8fbf9c”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 70 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/22290b77-cb79-4da7-be30-2dab6d8fbf9c/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“22290b77-cb79-4da7-be30-2dab6d8fbf9c”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“22290b77-cb79-4da7-be30-2dab6d8fbf9c”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/22290b77-cb79-4da7-be30-2dab6d8fbf9c/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/22290b77-cb79-4da7-be30-2dab6d8fbf9c/click] with body: {“element”:“22290b77-cb79-4da7-be30-2dab6d8fbf9c”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/22290b77-cb79-4da7-be30-2dab6d8fbf9c/click 200 908 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/iv_new_child”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/iv_new_child”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/iv_new_child”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“3c993480-8064-4046-af0c-9718292fd980”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“3c993480-8064-4046-af0c-9718292fd980”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 75 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/3c993480-8064-4046-af0c-9718292fd980/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“3c993480-8064-4046-af0c-9718292fd980”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“3c993480-8064-4046-af0c-9718292fd980”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/3c993480-8064-4046-af0c-9718292fd980/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/3c993480-8064-4046-af0c-9718292fd980/click] with body: {“element”:“3c993480-8064-4046-af0c-9718292fd980”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/3c993480-8064-4046-af0c-9718292fd980/click 200 3168 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_new_child_name_on_boarding”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_new_child_name_on_boarding”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/et_new_child_name_on_boarding”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“ac589b26-a59a-4e15-8afd-fb4273baa3e8”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“ac589b26-a59a-4e15-8afd-fb4273baa3e8”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 55 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/ac589b26-a59a-4e15-8afd-fb4273baa3e8/value {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“ac589b26-a59a-4e15-8afd-fb4273baa3e8”,“value”:[“C”,“h”,“i”,“l”,“d”,“1”,“5”,"-",“4”,“2”]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [[“C”,“h”,“i”,“l”,“d”,“1”,“5”,"-",“4”,“2”],“ac589b26-a59a-4e15-8afd-fb4273baa3e8”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/ac589b26-a59a-4e15-8afd-fb4273baa3e8/value] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/ac589b26-a59a-4e15-8afd-fb4273baa3e8/value] with body: {“elementId”:“ac589b26-a59a-4e15-8afd-fb4273baa3e8”,“text”:“Child15-42”,“replace”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:""}
[debug] [MJSONWP] Responding to client with driver.setValue() result: “”
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/ac589b26-a59a-4e15-8afd-fb4273baa3e8/value 200 48 ms - 74
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_new_child_done_on_boarding”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_new_child_done_on_boarding”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_new_child_done_on_boarding”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“e1896b90-5ea9-45b0-9d13-078cab5dc250”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“e1896b90-5ea9-45b0-9d13-078cab5dc250”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 538 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/e1896b90-5ea9-45b0-9d13-078cab5dc250/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“e1896b90-5ea9-45b0-9d13-078cab5dc250”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“e1896b90-5ea9-45b0-9d13-078cab5dc250”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/e1896b90-5ea9-45b0-9d13-078cab5dc250/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/e1896b90-5ea9-45b0-9d13-078cab5dc250/click] with body: {“element”:“e1896b90-5ea9-45b0-9d13-078cab5dc250”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/e1896b90-5ea9-45b0-9d13-078cab5dc250/click 200 830 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“android:id/button1”).text(“OK”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“android:id/button1”).text(“OK”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“android:id/button1”).text(“OK”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 62 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77/click] with body: {“element”:“7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/7dfa57c7-ce39-4c8d-afcc-20e0ecc27b77/click 200 3144 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:"-android uiautomator",“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_manage”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_manage”)”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.parentsware.ourpact.child:id/bt_manage”)”,“context”:"",“multiple”:false}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:{“ELEMENT”:“627266aa-32cd-4b4b-9558-e86c66dca5a3”}}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“627266aa-32cd-4b4b-9558-e86c66dca5a3”}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 200 66 ms - 122
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/627266aa-32cd-4b4b-9558-e86c66dca5a3/click {“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“id”:“627266aa-32cd-4b4b-9558-e86c66dca5a3”}
[debug] [MJSONWP] Calling AppiumDriver.click() with args: [“627266aa-32cd-4b4b-9558-e86c66dca5a3”,“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [JSONWP Proxy] Proxying [POST /element/627266aa-32cd-4b4b-9558-e86c66dca5a3/click] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element/627266aa-32cd-4b4b-9558-e86c66dca5a3/click] with body: {“element”:“627266aa-32cd-4b4b-9558-e86c66dca5a3”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:true}
[debug] [MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element/627266aa-32cd-4b4b-9558-e86c66dca5a3/click 200 1184 ms - 76
[HTTP] --> POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element {“using”:“xpath”,“sessionId”:“362f5ad9-7dcb-42c7-b351-c98c6749abe4”,“value”:"//android.widget.RelativeLayout[2]/android.widget.TextView"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.RelativeLayout[2]/android.widget.TextView",“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 129 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 741 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 1376 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 2004 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 2636 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 3264 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 3869 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 4482 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 5097 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 5702 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 6317 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 6936 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 7542 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 8157 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 8768 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 9387 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 10006 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 10593 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 11217 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 11831 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 12460 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 13059 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 13681 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 14291 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 14923 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 15523 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 16122 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 16721 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 17320 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 17920 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 18537 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 19139 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 19726 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 20330 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 20963 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 21570 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 22187 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 22793 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 23414 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 24028 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 24628 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 25263 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 25887 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 26481 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 27098 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 27708 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 28308 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 28928 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 29529 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.RelativeLayout[2]/android.widget.TextView",“context”:"",“multiple”:false}
[HTTP] <-- POST /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4/element 500 30140 ms - 164
[HTTP] --> DELETE /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4 {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: [“362f5ad9-7dcb-42c7-b351-c98c6749abe4”]
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8202/wd/hub/session/73de3ecb-a601-49d4-bc69-5702c5a25401] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“73de3ecb-a601-49d4-bc69-5702c5a25401”,“status”:0,“value”:“Session deleted”}”
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“com.parentsware.ourpact.child”]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8202
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“forward”,"–remove",“tcp:8202”]
[Appium] Removing session 362f5ad9-7dcb-42c7-b351-c98c6749abe4 from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/362f5ad9-7dcb-42c7-b351-c98c6749abe4 200 1060 ms - 76
[HTTP] --> POST /wd/hub/session {“requiredCapabilities”:{},“desiredCapabilities”:{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”},{},null,null,null]
[Appium] Creating new AndroidUiautomator2Driver session
[Appium] Capabilities:
[Appium] deviceName: ‘Nexus 5’
[Appium] automationName: ‘uiautomator2’
[Appium] nosign: ‘Yes’
[Appium] platformVersion: ‘6.0.1’
[Appium] appPackage: ‘com.parentsware.ourpact.child’
[Appium] platformName: ‘Android’
[Appium] appActivity: ‘com.parentsware.ourpact.child.activities.EnrollmentActivity’
[BaseDriver] The following capabilities were provided, but are not recognized by appium: nosign.
[BaseDriver] Session created with session id: 0f9ce917-90ed-4af2-9fea-bd3bec3c851e
[UiAutomator2] UIAutomator2 Driver version:0.2.7
[debug] [AndroidDriver] Getting Java version
[AndroidDriver] Java version is: 1.8.0_101
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[AndroidDriver] Looking for a device with Android ‘6.0.1’
[debug] [ADB] Setting device id to 045023e50a2854e9
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.release”]
[AndroidDriver] Using device: 045023e50a2854e9
[ADB] Checking whether adb is present
[ADB] Using adb from /Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb
[debug] [ADB] Setting device id to 045023e50a2854e9
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Getting device platform version
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.release”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”]
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“wait-for-device”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“echo”,“ping”]
[debug] [Logcat] Starting logcat capture
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“install”,"/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"]
[debug] [AndroidDriver] Pushing unlock helper app to device…
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“install”,"/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"]
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8202
[debug] [ADB] Forwarding system: 8202 to device: 6790
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“forward”,“tcp:8202”,“tcp:6790”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“dumpsys”,“window”]
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [AndroidDriver] Extracting strings from apk null null /var/folders/9v/x6_bbt7x65g79_f256tflqhm0000gn/T/com.parentsware.ourpact.child
[debug] [ADB] Extracting strings for language: default
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“ro.build.version.sdk”]
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“getprop”,“persist.sys.locale”]
[debug] [ADB] Current device property ‘persist.sys.locale’: en-US
[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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“com.parentsware.ourpact.child”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“pm”,“clear”,“com.parentsware.ourpact.child”]
[debug] [ADB] APK doesn’t exist. null
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/jennifer/Documents/android-sdk-macosx/build-tools/25.0.1/aapt
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“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 ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“pm”,“list”,“packages”,“io.appium.uiautomator2.server.test”]
[debug] [ADB] App is installed
[ADB] Checking whether aapt is present
[ADB] Using aapt from /Users/jennifer/Documents/android-sdk-macosx/build-tools/25.0.1/aapt
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“dumpsys”,“package”,“io.appium.uiautomator2.server”]
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“io.appium.uiautomator2.server”]
[UiAutomator2] Starting uiautomator2 server v0.1.1 with cmd: am,instrument,-w,io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner
[UiAutomator2] running command…
adb -s 045023e50a2854e9 shell am instrument -w io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner…
[UiAutomator2] Waiting for UiAutomator2 to be online…
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/wd/hub/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8202/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:8202/wd/hub/session] with body: {“desiredCapabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”},“deviceName”:“045023e50a2854e9”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”,“deviceUDID”:“045023e50a2854e9”}}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“3a54121f-f39a-44c3-a2ce-37fc021677e4”,“status”:0,“value”:“Created Session”}
[UiAutomator2] UiAutomator2 did not start the activity we were waiting for, ‘com.parentsware.ourpact.child/com.parentsware.ourpact.child.activities.EnrollmentActivity’. Starting it ourselves
[debug] [ADB] Device API level: 23
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“start”,"-W","-n",“com.parentsware.ourpact.child/com.parentsware.ourpact.child.activities.EnrollmentActivity”,"-S","-a",“android.intent.action.MAIN”,"-c",“android.intent.category.LAUNCHER”,"-f",“0x10200000”]
[Appium] New AndroidUiautomator2Driver session created successfully, session 0f9ce917-90ed-4af2-9fea-bd3bec3c851e added to master session list
[debug] [MJSONWP] Responding to client with driver.createSession() result: {“deviceName”:“Nexus 5”,“automationName”:“uiautomator2”,“nosign”:“Yes”,“platformVersion”:“6.0.1”,“appPackage”:“com.parentsware.ourpact.child”,“platformName”:“Android”,“appActivity”:“com.parentsware.ourpact.child.activities.EnrollmentActivity”}
[HTTP] <-- POST /wd/hub/session 200 15125 ms - 315
[HTTP] --> POST /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e/timeouts/implicit_wait {“sessionId”:“0f9ce917-90ed-4af2-9fea-bd3bec3c851e”,“ms”:30000}
[debug] [MJSONWP] Calling AppiumDriver.implicitWait() with args: [30000,“0f9ce917-90ed-4af2-9fea-bd3bec3c851e”]
[debug] [BaseDriver] Set implicit wait to 30000ms
[debug] [MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e/timeouts/implicit_wait 200 1 ms - 76
[HTTP] --> POST /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e/element {“using”:"-android uiautomator",“sessionId”:“0f9ce917-90ed-4af2-9fea-bd3bec3c851e”,“value”:“new UiSelector().description(“More options”)”}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["-android uiautomator",“new UiSelector().description(“More options”)”,“0f9ce917-90ed-4af2-9fea-bd3bec3c851e”]
[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 30000 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 288 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 815 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 1335 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 1858 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 2380 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 2950 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 3473 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 4044 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 4570 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 5089 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 5659 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 6222 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 6791 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 7361 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 7924 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 8493 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 9065 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 9608 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 10128 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 10688 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 11254 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 11813 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 12379 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 12936 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 13506 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 14074 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 14643 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 15206 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 15768 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 16333 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 16899 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 17463 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 18029 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 18596 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 19163 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 19735 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 20302 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 20868 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 21433 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 21994 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 22561 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 23121 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 23688 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 24245 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 24821 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 25384 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 25940 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 26518 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 27105 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 27675 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 28242 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 28814 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 29377 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[debug] [BaseDriver] Waited for 29939 ms so far
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().description(“More options”)”,“context”:"",“multiple”:false}
[HTTP] <-- POST /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e/element 500 30519 ms - 164
[HTTP] --> DELETE /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: [“0f9ce917-90ed-4af2-9fea-bd3bec3c851e”]
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://localhost:8202/wd/hub/session/3a54121f-f39a-44c3-a2ce-37fc021677e4] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“3a54121f-f39a-44c3-a2ce-37fc021677e4”,“status”:0,“value”:“Session deleted”}”
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“shell”,“am”,“force-stop”,“com.parentsware.ourpact.child”]
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8202
[debug] [ADB] Running ‘/Users/jennifer/Documents/android-sdk-macosx/platform-tools/adb’ with args: ["-P",5037,"-s",“045023e50a2854e9”,“forward”,"–remove",“tcp:8202”]
[Appium] Removing session 0f9ce917-90ed-4af2-9fea-bd3bec3c851e from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/0f9ce917-90ed-4af2-9fea-bd3bec3c851e 200 1000 ms - 76


Hi Jennifer,

self.driver.find_element_by_xpath(’//android.widget.TextView/android:id/title’).text('appname’);

in the place of double codes " you are using single code ’

i am using this simple method to find the elements.

driver.findElement(By.xpath("//android.widget.Button[@index='5']")).click();

driver.findElement(By.xpath("//android.widget.EditText[@resource-id='ap_email_login']")).sendKeys("abc");
driver.findElement(By.xpath("//android.widget.EditText[@resource-id='ap_password']")).sendKeys("sana!#13");
driver.findElement(By.xpath("//android.widget.CheckBox[@resource-id='auth-signin-show-password-checkbox']")).click();
driver.findElement(By.xpath("//android.widget.Button[@index='0']")).click();
driver.findElement(By.xpath("//android.widget.TextView[@index='0']")).click();

Hi Jennifer,

r u able to launch the application with your code.

@narendarsingam Yes - I am able to launch the app - assuming you are referring to the app under test as opposed to the Settings app. And, yesterday, after deciding to move on and give this head-banger a break for a bit, I was able to interact with the toggle switch in the window that appears after tapping on our app in the Accessibility screen. So - that tells me that the problem isn’t context. A couple of steps later in the script, I have to do essentially the same thing but with a different Settings page with the same style - again it failed. So it seems to be a challenge this this type of Settings page where a series of apps are listed in somewhat random style and I need to be able to click specifically on the one with our app name (using an index doesn’t help because our app will be in a different position in the list each time).

I will try all of your suggestions today to see if anything works though. Thanks!
Jennifer

I am still unable to get Appium to locate the element on the Accessibility screen. Since my post yesterday, I have tried the following additional methods:

self.driver.find_element_by_xpath(".//android.widget.ListView/android.widget.LinearLayout/android.widget.RelativeLayout/android.widget.TextView/*[@text =‘OurPact Jr.’]").click()
self.driver.find_element_by_xpath("//android.widget.CheckBox[@resource.id=‘android:id/title’]").click()
self.driver.find_element_by_xpath("//android.widget.TextView[@index=‘5’]").click()

Because I was also still suspecting that the screen I needed to interact with wasn’t actually the active screen, I add a check just prior to finding the element and was able to determine that I do have the correct activity active:

activity = self.driver.current_activity
print activity
returns: .Settings$AccessibilitySettingsActivity
which is exactly the activity I need in order to find the item in the ListView.

I have also continued to research topics regarding identifying elements in a listview, using xpaths, node tests etc. I’m learning a ton but not finding a solution.

So I would still very much appreciate any support.

Thanks

Hi Jennifer,

As you are saying that the element you want to identify is dynamically changing its position right.

try to put that element in for loop so that it will identify that element every time you run the script.

If you can send the screen shot, i may find some solution for you.

Narendar Singam

screen shot of uiautomatorviewer

OK. Attached is a screen shot of the Accessibility page of Android Settings App on a Moto G 6.0. I certainly understand the idea of looping through a set of elements until I find one but at the moment, I’m not confident that anything on the page can be found. I’ve tried searching for something - anything - with the resource.id of android:id/title, for example, and didn’t get anything. I expected that if appium found many, it would either:

  1. choose the first one
  2. Error out with a request for disambiguation

At any rate, I certainly would be willing to try almost anything at this point!! ha ha.