Hi,
I am trying to test the web apps using chromium on the real device.
It is actually clearing all the personal data including the bookmarks, previously kept opened windows etc, in the device.
can anyone please suggest a way if this can be avoided wiping off the data?
**Below is code and Appium logs for reference.
Code:
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.support.ui.ExpectedConditions;
import org.openqa.selenium.support.ui.WebDriverWait;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.MobileElement;
import io.appium.java_client.TouchAction;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.android.AndroidElement;
import io.appium.java_client.remote.MobileCapabilityType;
public class TravelexMobileTestCode {
static DesiredCapabilities cap = new DesiredCapabilities();
static TouchAction t;
public static void main(String[] args) throws InterruptedException, MalformedURLException {
// TODO Auto-generated method stub
cap = new DesiredCapabilities();
//cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Nexus5API25");
cap.setCapability(MobileCapabilityType.DEVICE_NAME, "VIBE K5 Note");
cap.setCapability(MobileCapabilityType.PLATFORM_NAME,"Android");
cap.setCapability(MobileCapabilityType.PLATFORM_VERSION,"6.0");
//cap.setCapability(MobileCapabilityType.PLATFORM_VERSION,"7.1.1");
cap.setCapability(MobileCapabilityType.BROWSER_NAME,"chrome");
cap.setCapability(MobileCapabilityType.NO_RESET, true);
cap.setCapability(MobileCapabilityType.FULL_RESET, false);
//cap.setCapability("appPackage","com.android.webview.chromium");
//cap.setCapability("appActivity", "com.android.webview.chromium.LicenseActivity");
AndroidDriver<AndroidElement> driver = new AndroidDriver<>(new URL("http://127.0.0.1:4723/wd/hub"),cap);
driver.get("https://www.travelex.com.au/");
System.out.println(driver.getTitle());
}
}
Appium Logs
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/title 200 28
ms - 132
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element {“u
sing”:“name”,“value”:“currency”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/element] to [POST http://127.0.0.1:8000/wd/hub/session/335180c93f7e9f
da08bc6a332b6ffc6d/element] with body: {“using”:“name”,“value”:“currency”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:0,“value”:{“ELEMENT”:“0.739302907645111-1”}}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element 200
124 ms - 105
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-1/clear {“id”:“0.739302907645111-1”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/element/0.739302907645111-1/clear] to [POST http://127.0.0.1:8000/wd/
hub/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-1/clear]
with body: {“id”:“0.739302907645111-1”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:0,“value”:null}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-1/clear 200 613 ms - 76
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-1/value {“id”:“0.739302907645111-1”,“value”:[“Si”]}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/element/0.739302907645111-1/value] to [POST http://127.0.0.1:8000/wd/
hub/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-1/value]
with body: {“id”:“0.739302907645111-1”,“value”:[“Si”]}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:0,“value”:null}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-1/value 200 1644 ms - 76
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/elements {"
using":“class name”,“value”:“ui-menu-item”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/elements] to [POST http://127.0.0.1:8000/wd/hub/session/335180c93f7e9
fda08bc6a332b6ffc6d/elements] with body: {“using”:“class name”,“value”:“ui-menu-
item”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:0,“value”:[{“ELEMENT”:“0.739302907645111-2”},{“ELE
MENT”:“0.739302907645111-3”},{“ELEMENT”:“0.739302907645111-4”},{“ELEMENT”:“0.739
302907645111-5”},{“ELEMENT”:“0.739302907645111-6”}]}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/elements 20
0 134 ms - 243
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-3/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-3/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-3/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Indonesia - Indonesian Rupiah
(IDR)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-3/text 200 125 ms - 109
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-3/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-3/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-3/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Indonesia - Indonesian Rupiah
(IDR)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-3/text 200 44 ms - 109
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-4/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-4/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-4/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Malaysia - Malaysian Ringgit
(MYR)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-4/text 200 111 ms - 108
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-4/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-4/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-4/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Malaysia - Malaysian Ringgit
(MYR)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-4/text 200 52 ms - 108
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-5/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-5/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-5/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Russian Federation - Russian
Ruble (RUB)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-5/text 200 149 ms - 114
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-5/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-5/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-5/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Russian Federation - Russian
Ruble (RUB)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-5/text 200 56 ms - 114
[HTTP] --> GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-6/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06b
b241582f0/element/0.739302907645111-6/text] to [GET http://127.0.0.1:8000/wd/hub
/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-6/text] with
body: {}
[debug] [JSONWP Proxy] Got response with status 200: “{“sessionId”:“335180c93
f7e9fda08bc6a332b6ffc6d”,“status”:0,“value”:“Singapore - Singapore Dollar
(SGD)”}”
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- GET /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.73
9302907645111-6/text 200 100 ms - 108
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-6/click {“id”:“0.739302907645111-6”}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/element/0.739302907645111-6/click] to [POST http://127.0.0.1:8000/wd/
hub/session/335180c93f7e9fda08bc6a332b6ffc6d/element/0.739302907645111-6/click]
with body: {“id”:“0.739302907645111-6”}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:0,“value”:null}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element/0.7
39302907645111-6/click 200 771 ms - 76
[HTTP] --> POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element {“u
sing”:“xpath”,“value”:"//android.widget.Button[@content-desc=‘BUY CASH’]"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06
bb241582f0/element] to [POST http://127.0.0.1:8000/wd/hub/session/335180c93f7e9f
da08bc6a332b6ffc6d/element] with body: {“using”:“xpath”,“value”:"//android.widge
t.Button[@content-desc=‘BUY CASH’]"}
[debug] [JSONWP Proxy] Got response with status 200: {“sessionId”:“335180c93f7e9
fda08bc6a332b6ffc6d”,“status”:7,“value”:{“message”:“no such element: Unable to l
ocate element: {“method”:“xpath”,“selector”:”//android.widget.Button[@con
tent-desc=‘BUY CASH’]"}\n (Session info: chrome=59.0.3071.125)\n (Driver info
: chromedriver=2.28.455520 (cc17746adff54984afff480136733114c6b3704b),platform=W
indows NT 6.3.9600 x86_64)"}}
[JSONWP Proxy] Replacing sessionId 335180c93f7e9fda08bc6a332b6ffc6d with 1dc9a0d
e-49ad-4405-ba9a-06bb241582f0
[HTTP] <-- POST /wd/hub/session/1dc9a0de-49ad-4405-ba9a-06bb241582f0/element 200
112 ms - 380
[Appium] Received SIGINT - shutting down
[Logcat] Logcat terminated with code 3221225786, signal null
[UiAutomator] UiAutomator exited unexpectedly with code 3221225786, signal null
[debug] [UiAutomator] Moving to state ‘stopped’
[Chromedriver] Chromedriver exited unexpectedly with code 3221225786, signal nul
l
[debug] [Chromedriver] Changed state to ‘stopped’
[AndroidDriver] Chromedriver for context CHROMIUM stopped unexpectedly
[debug] [AndroidDriver] Shutting down Android driver
[debug] [AndroidDriver] Stopping chromedriver for context CHROMIUM
[debug] [Chromedriver] Changed state to ‘stopping’
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/h
ub/session/335180c93f7e9fda08bc6a332b6ffc6d] with no body
[debug] [AndroidDriver] Shutting down Android driver
[Appium] Closing session, cause was ‘Chromedriver quit unexpectedly during sessi
on’
[Appium] Removing session 1dc9a0de-49ad-4405-ba9a-06bb241582f0 from our master s
ession list
[debug] [AndroidDriver] Stopping chromedriver for context CHROMIUM
[debug] [Chromedriver] Changed state to ‘stopping’
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/h
ub/session/335180c93f7e9fda08bc6a332b6ffc6d] with no body
[Chromedriver] ProxyRequestError: Could not proxy command to remote server. Orig
inal error: Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (…/…/…/lib/jsonwp-proxy/proxy.js:153:13)
at tryCatch (C:\Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\n
ode_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\wadmdabbarak\App
Data\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runt
ime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:
Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\node_modules\babel-ru
ntime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\wadmdabbarak\AppData\Roaming
npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37
)
{ ProxyRequestError: Could not proxy command to remote server. Original error:
Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (…/…/…/lib/jsonwp-proxy/proxy.js:153:13)
at tryCatch (C:\Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\n
ode_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\wadmdabbarak\App
Data\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runt
ime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:
Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\node_modules\babel-ru
ntime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\wadmdabbarak\AppData\Roaming
npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37
) jsonwp: null }
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices…
[Chromedriver] ProxyRequestError: Could not proxy command to remote server. Orig
inal error: Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (…/…/…/lib/jsonwp-proxy/proxy.js:153:13)
at tryCatch (C:\Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\n
ode_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\wadmdabbarak\App
Data\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runt
ime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:
Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\node_modules\babel-ru
ntime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\wadmdabbarak\AppData\Roaming
npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37
)
{ ProxyRequestError: Could not proxy command to remote server. Original error:
Error: connect ECONNREFUSED 127.0.0.1:8000
at JWProxy.proxy$ (…/…/…/lib/jsonwp-proxy/proxy.js:153:13)
at tryCatch (C:\Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\n
ode_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\wadmdabbarak\App
Data\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runt
ime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (C:
Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\node_modules\babel-ru
ntime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\wadmdabbarak\AppData\Roaming
npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37
) jsonwp: null }
[debug] [ADB] Pressing the HOME button
[debug] [ADB] Getting connected devices…
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\dabbarak\AppData\Local\Android\sdk\platform-tool
s\adb.exe’ with args: ["-P",5037,"-s",“RCSK9TUO4LVCY5FQ”,“shell”,“input”,“keyeve
nt”,3]
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\dabbarak\AppData\Local\Android\sdk\platform-tool
s\adb.exe’ with args: ["-P",5037,"-s",“RCSK9TUO4LVCY5FQ”,“shell”,“input”,“keyeve
nt”,3]
[AndroidBootstrap] Cannot shut down Android bootstrap; it has already shut down
[debug] [Logcat] Stopping logcat capture
[debug] [Logcat] Logcat already stopped
[debug] [ADB] Getting connected devices…
Unhandled rejection TypeError: Cannot read property ‘shutdown’ of null
at AndroidDriver.deleteSession$ (…/…/lib/driver.js:405:27)
at tryCatch (C:\Users\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\n
ode_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\wadmdabbarak\App
Data\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runt
ime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\U
sers\wadmdabbarak\AppData\Roaming\npm\node_modules\appium\node_modules\babel-run
time\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\wadmdabbarak\AppData\Roaming
npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37
)
at process._tickCallback (internal/process/next_tick.js:103:7)
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running ‘C:\Users\dabbarak\AppData\Local\Android\sdk\platform-tool
s\adb.exe’ with args: ["-P",5037,"-s",“RCSK9TUO4LVCY5FQ”,“shell”,“am”,“force-sto
p”,“io.appium.unlock”]
[debug] [AndroidDriver] Not cleaning generated files. Add clearSystemFiles
cap
ability if wanted.
Terminate batch job (Y/N)?