自动化中app支持schema跳转

android schema:

String url = "adb -s " + udid + " shell am start -a 'android.intent.action.VIEW' -d " + "'" + schemaUrl + "'";

android activity:
String url = "adb -s " + udid + " shell am start " + packageName + "/" + activityName;

ios?:
String[] cmd = {"/usr/local/bin/idevicedebug", "-u", udid, "run","com.apple.test.WebDriverAgentRunner-Runner"};
RuntimeUtil.Result r = RuntimeUtil.execWithResult(cmd, timeoutInSeconds, TimeUnit.SECONDS);
Driver driver = new AppiumDriver<MobileElement>();
driver.get(shcemUrl);
上一篇:【LeetCode每天一题】Longest Common Prefix(最长前缀)


下一篇:C++运算符重载——输入/输出运算符