This is the iOS browser provider plugin for TestCafe.
It allows you to automate mobile Safari tests. It uses Facebook's idb (or falls back tofbsimctl) to with iOS Simulators and real devices.
npm install testcafe-browser-provider-ios
Requirements:
- This plugin requires that you have XCode >= 8.2 installed, and the iOS simulator available.
- idb or fbsimctl must be installed and available on your
PATH
. (IDB Installation instructions) (FBSimctl Installation instructions)
When you run tests from the command line, use the alias when specifying browsers:
testcafe ios: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.
Doug Fitzmaurice https://www.ents24.com