Support IEVMS (IE/Edge in VirtualBox) for testcafe
This is the ievms browser provider plugin for TestCafe. It launchs your Windows VMs previously installed with IEVMS and proceed to run tests in it. When the tests are finished, the VMs are saved and stopped. It can run multiple Internet Browsers/Edge instances at once.
npm install testcafe-browser-provider-ievms
You can determine the currently installed IE/Edge vms and discover the browser aliases with:
testcafe -b ievms
When you run tests from the command line, use the alias when specifying browsers:
testcafe 'ievms:MSEdge - Win10' 'path/to/test/file.js'
When you use API, pass the alias to the browsers()
method:
testCafe
.createRunner()
.src('path/to/test/file.js')
.browsers('ievms:MSEdge - Win10')
.run();