使用 npm安装 appium之后,会发现已经进入1.5

[Appium] Welcome to Appium v1.5.0

[Appium] Appium REST http interface listener started on 0.0.0.0:4723

npm -g install appium

那么问题就来了,1.5 究竟有什么变化?

从官方的change list: https://github.com/appium/appium/releases 可以看粗,主要有以下变化

  • Deprecate server arguments that are also desired capabilities. Instead, add a --default-capabilities argument which takes a JSON string of capabilities that will be the default for any session. E.g., --default-capabilities '{"launchTimeout": 60000}' 增加使用JSON字符串作为sever 参数
  • Remove long-deprecated name locator strategy 废除findByName 的定位方式  大坑

iOS

  • add Tapster support for some more touch methods
  • iPhone 6 + 6S support
  • iOS 9.3 support

Android

  • enable navigating to an android URI via the set url driver methods, e.g., driver.get('content://contacts/people/1')
  • fix some adb issues in Windows (e.g., signWithCustomCert, sdk binary names)
  • fix issue with UIWatcher ssl certificate errors
  • if you want to install all chromedrivers, use --chromedriver-install-all; if you want to install a specific chromedriver version, use --chromedriver-version="$VER"
  • driver.closeApp no longer runs through the shutdown routine; it simply force-stops the app
  • The ANDROID_ADB_SERVER_PORT environment variable has been removed in favor of the adbPortdesired capability, which does the same thing.

这里一定要留意,如果之前写的有使用findByName,千万不要急着更新到1.5

最新文章

  1. 删除 TOMCAT 上次关闭遗留下来的 SESSION 缓存
  2. ORA-00988: missing or invalid password(s)
  3. libtool: link: `dftables.lo' is not a valid libtool object
  4. JS 和 Java 中URL特殊字符编码方式
  5. 基于jQuery标题有打字效果的焦点图
  6. 基于strpos()函数的判断用户浏览器方法
  7. WF工作流与管理类应用系统工作流需求实现的一些误区
  8. Xcode 7 warnings: object file was built for newer iOS version than being linked
  9. 怪胎:Android开发ImageView图片无法显示
  10. spring实现读写分离
  11. 关于Linode、Digitalocean、Vultr三款美国VPS服务商的用户体验
  12. 大项目小细节---onbeforeunload增强用户体验
  13. 用ActiveX 创建自己的comboBox 控件(一)
  14. ActiveMQ的安装与配置
  15. Discuz常见小问题-如何人为地添加用户并分配小组
  16. 24-[jQuery]-属性,文档,位置,筛选
  17. scss语法
  18. Linux 安装 MantisBT 详解
  19. C#做的在线升级小程序
  20. js数组的splice函数

热门文章

  1. Angularjs+node+Mysql实现地图上的多点标注
  2. python学习之路 第五天
  3. 使用haproxy的ACL封禁IP
  4. jQuery的页面载入
  5. MVC其实很简单(Django框架)
  6. 一次kibana服务失败的排查过程
  7. sql server 多列转多行实现方法
  8. javaScirpt事件详解-原生事件基础(一)
  9. dynamic 用法
  10. 5种 JavaScript 调用函数的方法