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)

/testcafe-browser-provider-idevices/

    Package Sidebar

    Install

    npm i testcafe-browser-provider-idevices

    Weekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    10.7 kB

    Total Files

    5

    Last publish

    Collaborators

    • gcfeng