WebDriverException: Message: A session is either terminated or not started

when im running my test suite, im getting below error. A session is either terminated or not started
this was working fine before the latest update

appium version :1.2.1 (1.2.1)
OS X:10.12.6

logs:

The server is running

[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“forward”,“tcp:4724”,“tcp:4724”]
[UiAutomator] Starting UiAutomator
[UiAutomator] Moving to state ‘starting’
[UiAutomator] Parsing uiautomator jar
[UiAutomator] Found jar name: ‘AppiumBootstrap.jar’
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“push”,"/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"]
[ADB] Attempting to kill all uiautomator processes
[ADB] Getting all processes with uiautomator
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“ps”]
[ADB] No uiautomator process found to kill, continuing…
[UiAutomator] Starting UIAutomator
[ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“uiautomator”,“runtest”,“AppiumBootstrap.jar”,"-c",“io.appium.android.bootstrap.Bootstrap”,"-e",“pkg”,“com.xxx.home”,"-e",“disableAndroidWatchers”,false,"-e",“acceptSslCerts”,false]
[UiAutomator] Moving to state ‘online’
[AndroidBootstrap] Android bootstrap socket is now connected
[ADB] Getting connected devices…
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“dumpsys”,“window”]
[AndroidDriver] Screen already unlocked, doing nothing
[ADB] Device API level: 23
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“am”,“start”,"-W","-n",“com.xxx.home/com.xxx.home.SplashActivity_”,"-S"]
[Appium] New AndroidDriver session created successfully, session 71f5d511-d6f3-4ed6-b889-c49d9234bcb1 added to master session list
[BaseDriver] Event ‘newSessionStarted’ logged at 1506119681183 (18:34:41 GMT-0400 (EDT))
[MJSONWP] Responding to client with driver.createSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“deviceName”:“SAMSUNG-SM-G920V”,“noReset”:true,“newCommandTimeout”:8000,“platformVersion”:“6.0.1”,“appPackage”:“com.xxx.home”,“platformName”:“Android”,“appActivity”:“com.xxx.home.SplashActivity_”},“deviceName”:“1015fa3194333705”,“noReset”:true,“newCommandTimeout”:8000,“platformVersion”:“6.0.1”,“appPackage”:“com.xxx.home”,“platformName”:“Android”,“appActivity”:“com.xxx.home.SplashActivity_”,“deviceUDID”:“1015fa3194333705”,“deviceScreenSize”:“1440x2560”,“deviceModel”:“SM-G920V”,“deviceManufacturer”:“samsung”}
[HTTP] <-- POST /wd/hub/session 200 12905 ms - 802
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/cleanButtonRing”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/cleanButtonRing’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/cleanButtonRing]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“1”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“1”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 53 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/cleanButtonRing”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/cleanButtonRing’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/cleanButtonRing]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“2”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“2”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 30 ms - 87
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/2/displayed {}
[MJSONWP] Calling AppiumDriver.elementDisplayed() with args: [“2”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“2”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“2”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/2/displayed 200 30 ms - 76
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/header_title”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/header_title”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/header_title’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/header_title]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“3”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“3”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 31 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/header_title”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/header_title”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/header_title’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/header_title]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“4”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“4”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 38 ms - 87
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/4/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: [“4”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“4”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“4”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“Bahubali 3680”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getText() result: “Bahubali 3680”
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/4/text 200 23 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/cleanButtonRing”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/cleanButtonRing’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/cleanButtonRing]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“5”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“5”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 49 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/cleanButtonRing”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/cleanButtonRing”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/cleanButtonRing’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/cleanButtonRing]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“6”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“6”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 43 ms - 87
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/6/displayed {}
[MJSONWP] Calling AppiumDriver.elementDisplayed() with args: [“6”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“6”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“displayed”,“elementId”:“6”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.elementDisplayed() result: true
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/6/displayed 200 21 ms - 76
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/scheduleButton”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/scheduleButton”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/scheduleButton”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/scheduleButton”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/scheduleButton’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/scheduleButton]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“7”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“7”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 33 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/scheduleButton”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/scheduleButton”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/scheduleButton”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/scheduleButton”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/scheduleButton’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/scheduleButton]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“8”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“8”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 31 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/8/click {“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“id”:“8”}
[MJSONWP] Calling AppiumDriver.click() with args: [“8”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“8”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/8/click 200 535 ms - 76
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/header_title”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/header_title”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/header_title’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/header_title]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“9”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“9”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 40 ms - 87
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/header_title”}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“id”,“com.xxx.home:id/header_title”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“id”,“selector”:“com.xxx.home:id/header_title”,“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘com.xxx.home:id/header_title’ using ‘ID’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.xxx.home:id/header_title]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“10”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“10”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 37 ms - 88
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/10/text {}
[MJSONWP] Calling AppiumDriver.getText() with args: [“10”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“10”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getText”,“params”:{“elementId”:“10”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“Bahubali 3680:\nWeekly Schedule”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getText() result: “Bahubali 3680:\nWeekly Schedule”
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/10/text 200 50 ms - 105
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//
[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“11”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“11”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 202 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//
[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//
[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“12”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“12”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 144 ms - 88
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/12/attribute/checked {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: [“checked”,“12”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“12”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“12”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: “true”
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/12/attribute/checked 200 44 ms - 78
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//
[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“13”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“13”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 196 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//
[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//
[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“14”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“14”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 146 ms - 88
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/14/attribute/checked {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: [“checked”,“14”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“14”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“14”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: “true”
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/14/attribute/checked 200 47 ms - 78
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//
[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“15”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“15”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 152 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//
[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//
[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“16”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“16”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 137 ms - 88
[HTTP] --> GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/16/attribute/checked {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: [“checked”,“16”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“16”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:getAttribute”,“params”:{“attribute”:“checked”,“elementId”:“16”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getAttribute
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:“true”}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: “true”
[HTTP] <-- GET /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/16/attribute/checked 200 47 ms - 78
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//
[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“17”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“17”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 197 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//
[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//
[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“18”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“18”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 147 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/18/click {“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“id”:“18”}
[MJSONWP] Calling AppiumDriver.click() with args: [“18”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“18”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“18”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/18/click 200 396 ms - 76
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//
[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding ‘//[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“19”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“19”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 146 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//
[@content-desc=‘Saturday’]"}
[MJSONWP] Calling AppiumDriver.findElement() with args: [“xpath”,"//[@content-desc=‘Saturday’]",“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 0 ms for condition
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//
[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“find”,“params”:{“strategy”:“xpath”,“selector”:"//[@content-desc=‘Saturday’]",“context”:"",“multiple”:false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding '//
[@content-desc=‘Saturday’]’ using ‘XPATH’ with the contextId: ‘’ multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[CLASS=android.widget.Switch, INSTANCE=6]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:{“ELEMENT”:“20”}}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.findElement() result: {“ELEMENT”:“20”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 200 194 ms - 88
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/20/click {“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“id”:“20”}
[MJSONWP] Calling AppiumDriver.click() with args: [“20”,“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”]
[AndroidBootstrap] Sending command to android: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“20”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {“cmd”:“action”,“action”:“element:click”,“params”:{“elementId”:“20”}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {“status”:0,“value”:true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.click() result: true
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element/20/click 200 300 ms - 76
[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null
[UiAutomator] Moving to state ‘stopped’
[AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was ‘UiAUtomator shut down unexpectedly’
[Appium] Removing session 71f5d511-d6f3-4ed6-b889-c49d9234bcb1 from our master session list
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“am”,“force-stop”,“com.xxx.home”]
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“xpath”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:"//*[@content-desc=‘Saturday’]"}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 404 2 ms - 131
[ADB] Pressing the HOME button
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“input”,“keyevent”,3]
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[Logcat] Stopping logcat capture
[Logcat] Logcat already stopped
[ADB] Getting connected devices…
[ADB] 1 device(s) connected
[ADB] Running ‘/Users/radha/Library/Android/sdk/platform-tools/adb’ with args: ["-P",5037,"-s",“1015fa3194333705”,“shell”,“am”,“force-stop”,“io.appium.unlock”]
[AndroidDriver] Not cleaning generated files. Add clearSystemFiles capability if wanted.
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 404 1 ms - 131
[HTTP] --> POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element {“using”:“id”,“sessionId”:“71f5d511-d6f3-4ed6-b889-c49d9234bcb1”,“value”:“com.xxx.home:id/cleanButtonRing”}
[HTTP] <-- POST /wd/hub/session/71f5d511-d6f3-4ed6-b889-c49d9234bcb1/element 404 1 ms - 131

Pasting from this link:

The solution is brew install android-platform-tools or making sure you have the latest sdk/tools from the sdk manager.

Thank you @Venkatesh_Akula

[email protected]