Awesome
testcafe-browser-provider-fbsimctl
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.
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