npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

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

install

npm i testcafe-browser-provider-fbsimctl

Downloadsweekly downloads

38

version

0.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability