Skip to content

Testcafe browser provider for the iOS Simulator using Facebook's fbsimctl

License

Notifications You must be signed in to change notification settings

Ents24/testcafe-browser-provider-fbsimctl

Repository files navigation

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

About

Testcafe browser provider for the iOS Simulator using Facebook's fbsimctl

Resources

License

Stars

Watchers

Forks

Packages

No packages published