zoukankan      html  css  js  c++  java
  • 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.
    
  • 相关阅读:
    Android 绑定Service的实现方法二:使用Messenger
    Android 利用SurfaceView进行图形绘制
    Android 垂直SeekBar
    Android Camera(一) 调用系统相机应用
    Android Camera(二) Camera程序编写
    算法题009 电梯调度算法
    Git基础使用教程:第一个Git项目
    Android上的GPS程序报错:Fail to find provider info for com.google.android.gsf.gservices
    JUnit4:多组数据的单元测试:用JUnit4做参数化测试
    Git基础:添加与提交
  • 原文地址:https://www.cnblogs.com/juking/p/9540524.html
Copyright © 2011-2022 走看看