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的一段简单脚本的更多相关文章

  1. Appium + Python 测试 QQ 音乐 APP的一段简单脚本

    1. 大致流程 + 程序(Python):打开 QQ 音乐,点击一系列接收按键,进入搜索音乐界面,输入『Paradise』,播放第一首音乐. 2. Python 脚本如下 from appium im ...

  2. java调用百度地图API依据地理位置中文获取经纬度

    百度地图api提供了非常多地图相关的免费接口,有利于地理位置相关的开发,百度地图api首页:http://developer.baidu.com/map/. 博主使用过依据地理依据地理位置中文获取经纬 ...

  3. java 基于百度地图API GPS经纬度解析地址

    首先这是百度地图api 的接口地址,基于接口的参数,不过多介绍,其中都提供相应的介绍: http://lbsyun.baidu.com/index.php?title=webapi/guide/web ...

  4. appium + java + WebDriverAgent实现IOS app启动

    Appium v1.8.1 <dependency>    <groupId>io.appium</groupId>    <artifactId>ja ...

  5. 测试百度地图输入GPS经纬度显示位置API

    1.我的GPS获取的经纬度做度分秒转换后为 34.636055,112.40832 2.百度API介绍 GPS的坐标是WGS84,所以测试API http://api.map.baidu.com/ge ...

  6. Geocoding java调用百度地图API v2.0 图文 实例( 解决102错误)

    如何使用? 第一步:申请ak(即获取密钥),若无百度账号则首先需要注册百度账号. 第二步,拼写发送http请求的url,注意需使用第一步申请的ak. 第三步,接收http请求返回的数据(支持json和 ...

  7. java调用百度地图API

    http://blog.csdn.net/iTommy2016/article/details/75144936 http://blog.csdn.net/kingken212/article/det ...

  8. H5端调起百度地图、腾讯地图app

    来自一个需求的总结: 在微信公众号中根据地图上的marker和label,或者搜索结果点击调起地图APP进行导航. 一开始是使用百度地图进行开发,后面转腾讯是因为微信不允许不是自家或者合作方的APP在 ...

  9. GJM:Unity导入百度地图SDK [转载]

    感谢您的阅读.喜欢的.有用的就请大哥大嫂们高抬贵手"推荐一下"吧!你的精神支持是博主强大的写作动力以及转载收藏动力.欢迎转载! 版权声明:本文原创发表于 [请点击连接前往] ,未经 ...

随机推荐

  1. 前后端分离框架前端react,后端springboot跨域问题分析

    前后端分离框架前端react,后端springboot跨域问题分析 为啥跨域了 前端react的设置 springboot后端设置 为啥跨域了 由于前后端不在一个端口上,也是属于跨域问题的一种,所以必 ...

  2. ios OC 关键字 copy,strong,weak,assign的区别

    一.先介绍 copy.strong.weak 的区别,如代码所示 @property(copy,nonatomic)NSMutableString*aCopyMStr; @property(stron ...

  3. vba多条件查询更新EXCEL数据导access数据库

    功能:根据项目号和步骤ID,更新指定步骤完成时间.这里里边要匹配两个条件一个是项目ID “”projectID“” 另一个是 “”StepID“” 步骤ID. Sub SaveFini() Dim r ...

  4. Qt跨平台开发Wince5.0和Android程序

    所谓跨平台是指维护一份代码,可编译出多平台的应用程序.Qt这方面虽然已经做的不错,但性能还是体验,和原生开发工具开发的程序相比,差距还是不小的.但单从生产应用的角度来说,可以采用,不失为一种好的解决方 ...

  5. 在Centos7下搭建Socks5代理服务器

    在Centos7下搭建Socks5代理服务器 http://blog.51cto.com/quliren/2052776   采用socks协议的代理服务器就是SOCKS服务器,是一种通用的代理服务器 ...

  6. python ftp 传输文件

    # -*- coding: utf-8 -*- # 本地bytes 数据上报服务器同时创建文件from ftplib import FTP import time, _io from constant ...

  7. python基础之Day23

    1.封装 什么是? 封:明确地把属性隐藏起来 ,对外隐藏,对内开放 申请名称空间,往里面装入一系列名字 /属性(类比 类 和对象   只是装的概念) 为什么要用? __init__往对象里丢属性 封装 ...

  8. [Presto]Presto章1 Presto 咋用

    Presto 的平均查询性能是 Hive 的 10 倍! 由于 Presto 的数据源具有完全解耦.高性能,以及对 ANSI SQL 的支持等特性,使得 Presto 在 ETL.实时数据计算. Ad ...

  9. PHP中写定时任务

    1.写一个bat E:\Progra~1\wamp\php\php.exe -f "E:\service.php" 2.写接口文件 ignore_user_abort(); //即 ...

  10. 关于numpy.maximum函数的测试

    atr.py import numpy as np a = np.arange(9)print("a:",a)print(a[0:3])print(a[3:6])print(a[6 ...