Appium-Drivers-Mac

╰半橙微兮° 2023-01-15 12:22 128阅读 0赞

The Mac Driver for OS X

          • Requirements and Support
          • Usage
          • Getting AppiumForMac

Appium has beta support for automation of OS X desktop applications. Development of this driver happens at the appium-mac-driver, and relies on a native OS X binary called AppiumForMac.

  1. AppiumOS X desktop提供beta版自动化支持.
  2. driver开发在appium-mac-driver中进行,
  3. 并且依赖于名为'AppiumForMac'的本地OS X二进制文件.
Requirements and Support

(In addition to Appium’s general requirements)

  • Mac OS X 10.7Mac OX 版本
  • The AppiumForMac helper application downloaded and installed (see below)

    AppiumForMac helper application已下载并安装(见下文)

Usage

The way to start a session using the Mac driver is to include the platformName capability in your new session request, with the value Mac. Also, ensure that you set the deviceName capability to Mac as well. Of course, you must also include appropriate platformVersion and app capabilities, at a minimum.

  1. 使用Mac driver开始会话的方式是包含'platformName'在新的会话中
  2. 值为'Mac'
  3. 另外,确保将'Mac'设置'deviceName'功能
  4. 当然,你必须还至少要包含匹配的'platformVersion''app'
Getting AppiumForMac
  1. 获取AppiumForMac

Currently, this driver does not ship with the AppiumForMac binary, which means, in order to automate Mac apps you must manually install the AppiumForMac application and grant it the appropriate OS X Accessibility permissions.

  1. 目前,这个driver不会随AppiumForMac binary一起提供,
  2. 这意味着,
  3. 为让Mac apps自动化
  4. 你必须手动安装'AppiumForMac' application和授权其相应的OS X可访问性

To Install Appium for Mac: 1. Download a release and unzip the application into your /Applications folder 2. Follow the brief supplemental installation instructions to enable Appium to have access to OS X’s Accessibility APIs

  1. Mac安装Appium
  2. 1.下载公开文件并解压到你的Applications文件夹中
  3. 2.按照简短的补充安装说明使Appium能够访问OS X'S Accessibility APIs
  4. Accessibility可访

(For more information on using AppiumForMac, check out the docs)

发表评论

表情:
评论列表 (有 0 条评论,128人围观)

还没有评论,来说两句吧...

相关阅读