testcafe-browser-provider-fbsimctl

0.0.4 • Public • Published

testcafe-browser-provider-fbsimctl

Build Status npm

This is the fbsimctl browser provider plugin for TestCafe.

It allows you to launch the iOS simulator for automated testing in Mobile Safari. It uses Facebook's fbsimctl tool to interface with the Simulator.

animated example of use

Install

npm install testcafe-browser-provider-fbsimctl

Requirements:

  • This plugin requires that you have XCode >= 8.2 installed, and the iOS simulator available.
  • fbsimctl must be installed and available on your PATH. (Installation instructions)

Usage

When you run tests from the command line, use the alias when specifying browsers:

testcafe fbsimctl:device:os 'path/to/test/file.js'

where device is something like:

  • iPhone 5
  • iPhone SE

and os is something like:

  • iOS 9.2
  • iOS 10.2

os is optional - if you exclude it then the most recent OS version will be chosen.

Author

Doug Fitzmaurice https://www.ents24.com

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    160
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    160
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i testcafe-browser-provider-fbsimctl

Weekly Downloads

160

Version

0.0.4

License

MIT

Last publish

Collaborators

  • ents24