testcafe-browser-provider-idevices

0.0.1 • Public • Published

testcafe-browser-provider-idevices

NPM Version

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i testcafe-browser-provider-idevices

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

10.7 kB

Total Files

5

Last publish

Collaborators

  • gcfeng