Appium + Java 测试 [百度地图] APP的一段简单脚本
1. 流程
- 进入 app ,手动处理前段预处理,程序一直等候到达指定搜索地名页面,填入【南通大学】,点击【搜索】
2. Java 脚本
// part 1: 引入需要的包
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.AndroidKeyCode;
import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.UnreachableBrowserException;
public class Main {
/**
* 所有和AppiumDriver相关的操作都必须写在该函数中
* @param driver
*/
// part 3: 测试脚本 test()
public void test(AppiumDriver driver) {
try {
Thread.sleep(6000); //等待6s,待应用完全启动
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
driver.manage().timeouts().implicitlyWait(8, TimeUnit.SECONDS); //设置尝试定位控件的最长时间为8s,也就是最多尝试8s
/*
* 余下的测试逻辑请按照题目要求进行编写
*/
waitForActivity(driver, "com.baidu.baidumaps.MapsActivity");
driver.findElementById("com.baidu.BaiduMap:id/tv_searchbox_home_text").click(); //com.baidu.BaiduMap:id/tv_searchbox_home_text
driver.findElementById("com.baidu.BaiduMap:id/tvSearchBoxInput").sendKeys("南通大学"); // 填入 检索词 (地名)
driver.findElementById("com.baidu.BaiduMap:id/tvSearchButton").click(); // 点击 搜索
try {
Thread.sleep(3000);
} catch (Exception e) {
e.printStackTrace();
}
// driver.quit();
}
private void waitForActivity(AppiumDriver driver, String activity) {
/* 该函数是等候到达指定(activity)的页面 ,然后开始目标页面 */
while (!driver.currentActivity().contains(activity)) {
System.out.println("- Waiting for " + activity);
Thread.yield();
}
System.out.println(">> Begin " + activity); // bigan 开始当前页眉
}
// part 2: 初始化工作,实际上是实例化一个 AppiumDriver driver
/**
* AppiumDriver的初始化逻辑必须写在该函数中
* @return
*/
public AppiumDriver initAppiumTest() {
AppiumDriver driver=null;
// File classpathRoot = new File(System.getProperty("user.dir"));
// File appDir = new File(classpathRoot, "apk");
// File app = new File(appDir, "Meituan.apk");
//设置自动化相关参数
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("browserName", "");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("deviceName", "Android Emulator");
//设置apk路径
// capabilities.setCapability("app", app.getAbsolutePath());
capabilities.setCapability("appPackage","com.baidu.BaiduMap");
capabilities.setCapability("appActivity","com.baidu.baidumaps.MapsActivity"); // com.baidu.baidumaps.MapsActivity
//设置使用unicode键盘,支持输入中文和特殊字符
capabilities.setCapability("unicodeKeyboard","true");
//设置用例执行完成后重置键盘
capabilities.setCapability("resetKeyboard","true");
capabilities.setCapability("noSign","true");
//初始化
try {
driver = new AppiumDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return driver;
}
public void start() {
test(initAppiumTest());
}
public static void main(String[] args) {
Main main = new Main();
main.start();
}
}
3. Appium server 日志
[AndroidBootstrap] Android bootstrap socket is now connected
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window'
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected
[AndroidDriver] Screen already unlocked, doing nothing
[ADB] Device API level: 23
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell am start -W -n com.baidu.BaiduMap/com.baidu.baidumaps.MapsActivity -S'
[Appium] New AndroidDriver session created successfully, session 7235a1f4-800f-4ba8-90b6-062ad66d2273 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1535334386512 (09:46:26 GMT+0800 (CST))
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.baidu.BaiduMap","appActivity":"com.baidu.baidumaps.MapsActivity","noSign":true,"browserName":"","unicodeKeyboard":true,"platformName":"Android","deviceName":"Android Emulator","resetKeyboard":true},"appPackage":"com.baidu.BaiduMap","appActivity":"com.baidu.baidumaps.MapsActivity","noSign":true,"browserName":"","unicodeKeyboard":true,"platformName":"Android","deviceName":"HEE6R15617010561","resetKeyboard":true,"deviceUDID":"HEE6R15617010561","platformVersion":"6.0","deviceScreenSize":"1080x1920","deviceModel":"HUAWEI P8max","deviceManufacturer":"HUAWEI"}
[HTTP] <-- POST /wd/hub/session 200 16871 ms - 855
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/timeouts/implicit_wait
[HTTP] {"ms":8000}
[MJSONWP] Calling AppiumDriver.implicitWait() with args: [8000,"7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[BaseDriver] Set implicit wait to 8000ms
[MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/timeouts/implicit_wait 200 3 ms - 76
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 91 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 86 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 87 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 75 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 100 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 92 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 80 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 81 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 77 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 73 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 65 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 62 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 66 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 84 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 85 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 87 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 78 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 64 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 68 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 74 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 87 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 70 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 88 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 68 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 55 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 102 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 60 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: ".permission.ui.GrantPermissionsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 66 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 74 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 68 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 82 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 95 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 77 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 92 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 82 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 70 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 57 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 60 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 72 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 59 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 82 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 78 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 57 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 73 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 66 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 60 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 64 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 56 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 69 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 62 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 62 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 67 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 65 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 107 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 59 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 59 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 64 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.WelcomeScreen"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 72 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 74 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 81 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 76 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 136 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 88 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 77 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 65 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 53 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 57 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 98 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 75 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 63 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 60 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 64 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 67 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.TermsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 72 ms - 113
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 65 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 88 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 64 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 91 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 94 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 88 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 78 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 61 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 98 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 96 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 95 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 75 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 105 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.guide.NewUserGuide"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 77 ms - 112
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getCurrentActivity() with args: ["7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[ADB] Getting focused package and activity
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell dumpsys window windows'
[MJSONWP] Responding to client with driver.getCurrentActivity() result: "com.baidu.baidumaps.MapsActivity"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/appium/device/current_activity 200 67 ms - 106
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element
[HTTP] {"using":"id","value":"com.baidu.BaiduMap:id/tv_searchbox_home_text"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.baidu.BaiduMap:id/tv_searchbox_home_text","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 8000 ms for condition
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tv_searchbox_home_text","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tv_searchbox_home_text","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.baidu.BaiduMap:id/tv_searchbox_home_text' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.baidu.BaiduMap:id/tv_searchbox_home_text]
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying.
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.baidu.BaiduMap:id/tv_searchbox_home_text' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.baidu.BaiduMap:id/tv_searchbox_home_text]
[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/7235a1f4-800f-4ba8-90b6-062ad66d2273/element 200 5074 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/resourceId
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["resourceId","1","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"resourceId","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"resourceId","elementId":"1"}}
[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":"com.baidu.BaiduMap:id\/tv_searchbox_home_text"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "com.baidu.BaiduMap:id/tv_searchbox_home_text"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/resourceId 200 179 ms - 118
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/text
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","1","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"1"}}
[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":"搜地点、查公交、找路线"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "搜地点、查公交、找路线"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/text 200 60 ms - 107
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/className
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["className","1","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"className","elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"className","elementId":"1"}}
[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":"android.widget.TextView"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "android.widget.TextView"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/attribute/className 200 66 ms - 97
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/click
[HTTP] {"id":"1"}
[MJSONWP] Calling AppiumDriver.click() with args: ["1","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
[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/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/1/click 200 2914 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element
[HTTP] {"using":"id","value":"com.baidu.BaiduMap:id/tvSearchBoxInput"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.baidu.BaiduMap:id/tvSearchBoxInput","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 8000 ms for condition
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tvSearchBoxInput","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tvSearchBoxInput","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.baidu.BaiduMap:id/tvSearchBoxInput' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.baidu.BaiduMap:id/tvSearchBoxInput]
[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/7235a1f4-800f-4ba8-90b6-062ad66d2273/element 200 140 ms - 87
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/2/value
[HTTP] {"id":"2","value":["南通大学"]}
[MJSONWP] Calling AppiumDriver.setValue() with args: [["南通大学"],"2","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"南通大学","replace":false,"unicodeKeyboard":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"南通大学","replace":false,"unicodeKeyboard":true}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 2
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText().
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending Unicode text to element: 南通大学
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Encoded text: &U1eQGlknW2Y-
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.setValue() result: true
[HTTP] <-- POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/2/value 200 6397 ms - 76
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element
[HTTP] {"using":"id","value":"com.baidu.BaiduMap:id/tvSearchButton"}
[MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.baidu.BaiduMap:id/tvSearchButton","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[BaseDriver] Waiting up to 8000 ms for condition
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tvSearchButton","context":"","multiple":false}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.baidu.BaiduMap:id/tvSearchButton","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.baidu.BaiduMap:id/tvSearchButton' using 'ID' with the contextId: '' multiple: false
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.baidu.BaiduMap:id/tvSearchButton]
[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/7235a1f4-800f-4ba8-90b6-062ad66d2273/element 200 35 ms - 87
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/resourceId
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["resourceId","3","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"resourceId","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"resourceId","elementId":"3"}}
[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":"com.baidu.BaiduMap:id\/tvSearchButton"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "com.baidu.BaiduMap:id/tvSearchButton"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/resourceId 200 1777 ms - 110
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/text
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["text","3","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"text","elementId":"3"}}
[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":"搜索"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "搜索"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/text 200 116 ms - 80
[HTTP]
[HTTP] --> GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/className
[HTTP] {}
[MJSONWP] Calling AppiumDriver.getAttribute() with args: ["className","3","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"className","elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getAttribute","params":{"attribute":"className","elementId":"3"}}
[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":"android.widget.TextView"}
[AndroidBootstrap] Received command result from bootstrap
[MJSONWP] Responding to client with driver.getAttribute() result: "android.widget.TextView"
[HTTP] <-- GET /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/attribute/className 200 155 ms - 97
[HTTP]
[HTTP] --> POST /wd/hub/session/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/click
[HTTP] {"id":"3"}
[MJSONWP] Calling AppiumDriver.click() with args: ["3","7235a1f4-800f-4ba8-90b6-062ad66d2273"]
[AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
[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/7235a1f4-800f-4ba8-90b6-062ad66d2273/element/3/click 200 586 ms - 76
[HTTP]
[BaseDriver] Shutting down because we waited 60 seconds for a command
[AndroidDriver] Shutting down Android driver
[AndroidDriver] Resetting IME to io.appium.android.ime/.UnicodeIME
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell ime set io.appium.android.ime/.UnicodeIME'
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 7235a1f4-800f-4ba8-90b6-062ad66d2273 from our master session list
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell am force-stop com.baidu.BaiduMap'
[ADB] Pressing the HOME button
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell input keyevent 3'
[AndroidBootstrap] Sending command to android: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
[AndroidBootstrap] Received command result from bootstrap
[UiAutomator] Shutting down UiAutomator
[UiAutomator] Moving to state 'stopping'
[UiAutomator] UiAutomator shut down normally
[UiAutomator] Moving to state 'stopped'
[ADB] Attempting to kill all uiautomator processes
[ADB] Getting all processes with uiautomator
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell ps'
[ADB] No uiautomator process found to kill, continuing...
[UiAutomator] Moving to state 'stopped'
[Logcat] Stopping logcat capture
[ADB] Running '/Users/marikobayashi/Work/soft/android-sdk-macosx/platform-tools/adb -P 5037 -s HEE6R15617010561 shell am force-stop io.appium.unlock'
[AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted.
Appium + Java 测试 [百度地图] APP的一段简单脚本的更多相关文章
- Appium + Python 测试 QQ 音乐 APP的一段简单脚本
1. 大致流程 + 程序(Python):打开 QQ 音乐,点击一系列接收按键,进入搜索音乐界面,输入『Paradise』,播放第一首音乐. 2. Python 脚本如下 from appium im ...
- java调用百度地图API依据地理位置中文获取经纬度
百度地图api提供了非常多地图相关的免费接口,有利于地理位置相关的开发,百度地图api首页:http://developer.baidu.com/map/. 博主使用过依据地理依据地理位置中文获取经纬 ...
- java 基于百度地图API GPS经纬度解析地址
首先这是百度地图api 的接口地址,基于接口的参数,不过多介绍,其中都提供相应的介绍: http://lbsyun.baidu.com/index.php?title=webapi/guide/web ...
- appium + java + WebDriverAgent实现IOS app启动
Appium v1.8.1 <dependency> <groupId>io.appium</groupId> <artifactId>ja ...
- 测试百度地图输入GPS经纬度显示位置API
1.我的GPS获取的经纬度做度分秒转换后为 34.636055,112.40832 2.百度API介绍 GPS的坐标是WGS84,所以测试API http://api.map.baidu.com/ge ...
- Geocoding java调用百度地图API v2.0 图文 实例( 解决102错误)
如何使用? 第一步:申请ak(即获取密钥),若无百度账号则首先需要注册百度账号. 第二步,拼写发送http请求的url,注意需使用第一步申请的ak. 第三步,接收http请求返回的数据(支持json和 ...
- java调用百度地图API
http://blog.csdn.net/iTommy2016/article/details/75144936 http://blog.csdn.net/kingken212/article/det ...
- H5端调起百度地图、腾讯地图app
来自一个需求的总结: 在微信公众号中根据地图上的marker和label,或者搜索结果点击调起地图APP进行导航. 一开始是使用百度地图进行开发,后面转腾讯是因为微信不允许不是自家或者合作方的APP在 ...
- GJM:Unity导入百度地图SDK [转载]
感谢您的阅读.喜欢的.有用的就请大哥大嫂们高抬贵手"推荐一下"吧!你的精神支持是博主强大的写作动力以及转载收藏动力.欢迎转载! 版权声明:本文原创发表于 [请点击连接前往] ,未经 ...
随机推荐
- 验证当前启动APP的Package 和 Activity
1. 打开手机USB 调试开关 2. 执行: adb devices 3.启动你的测试APP (如手机QQ) 4.执行:adb shell dumpsys window |findstr mCurre ...
- zabbix学习笔记----安装----2019.03.26
1.zabbix官方yum源地址:repo.zabbix.com 2.安装zabbix server zabbix server使用mysql作为数据库,在zabbix 3.X版本,安装zabbix- ...
- LAB12 Transaction
思路:就是把aotocommit()里面的东西改改就行了. 查询要求可用房间>=所需要的房间. SQL里面查数字时,不要加单引号.字符串才要. 查询里的set ONHAND=要改成自己的变量名s ...
- strin 数组转换成int 数组
string[] strarry = ids.Trim(',').Split(','); int[] arryInts = Array.ConvertAll<string, int>(st ...
- Subplot 多合一显示
1.均匀图中图 matplotlib 是可以组合许多的小图, 放在一张大图里面显示的. 使用到的方法叫作 subplot. 使用import导入matplotlib.pyplot模块, 并简写成plt ...
- VNF网络性能提升解决方案及实践
VNF网络性能提升解决方案及实践 2016年7月 作者: 王智民 贡献者: 创建时间: 2016-7-20 稳定程度: 初稿 修改历史 版本 日期 修订人 说明 1.0 20 ...
- mongodb的配置文件详解()
官方地址 https://docs.mongodb.com/manual/reference/configuration-options/#configuration-file 以下页面描述了Mon ...
- POJ 3162.Walking Race 树形dp 树的直径
Walking Race Time Limit: 10000MS Memory Limit: 131072K Total Submissions: 4123 Accepted: 1029 Ca ...
- Python学习心得--变量类型篇
1.Python允许同时为多个变量赋值.例如:a = b = c = 1 2.Python允许多个对象指定多个变量.例如:a1, b1, c1 = 1, 2, "john" 3.使 ...
- ubuntu 18.04配置静态ip,解决无法上网问题,解决resolv.conf配置文件被覆盖
Netplan 是 Ubuntu 17.10 中引入的一种新的命令行网络配置实用程序,用于在 Ubuntu 系统中轻松管理和配置网络设置. 它允许您使用 YAML 格式的描述文件来抽像化定义网络接口的 ...