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

Package Sidebar

Install

npm i testcafe-browser-provider-fbsimctl

Weekly Downloads

96

Version

0.0.4

License

MIT

Last publish

Collaborators

  • ents24