0.0.1 • Published 3 years ago

testcafe-browser-provider-idevices v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

testcafe-browser-provider-idevices

This is the iOS Simulator browser provider plugin for TestCafe.

It allows you to launch the iOS simulator for automated testing in Mobile Safari. It uses node-simctl to interface with the Simulator.

Install

npm install --save-dev testcafe-browser-provider-idevices

Usage

You can determine the available browser aliases by running

testcafe -b idevices

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

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

where device is something like:

  • iPhone 8
  • iPad Pro (11-inch) (2nd generation)
  • iPad Simulator
  • iPhone Simulator

and os is something like:

  • iOS 14.4

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

Author

gcfeng (https://github.com/gcfeng/testcafe-browser-provider-idevices)