karma-virtualbox-ie11-launcher

!!! DEPRECATED !!! A Karma launcher for Internet Explorer 11 on VirtualBox.


Keywords
karma, karma-launcher
License
MIT
Install
npm install karma-virtualbox-ie11-launcher@5.0.2

Documentation

Status: !!! DEPRECATED !!!

This module is deprecated and no longer maintained.

karma-virtualbox-ie11-launcher

!!! DEPRECATED !!! A Karma launcher for Internet Explorer 11 on VirtualBox.

The karma-virtualbox-ie11-launcher can be used to run karma tests on Microsoft Internet Explorer 11. It requires one the official virtual machines provided by Microsoft which runs on VirtualBox.

Installation

You can install the karma-virtualbox-ie11-launcher via npm:

npm install karma-virtualbox-ie11-launcher --save-dev

Usage

To run tests on Microsoft Internet Explorer 11 Karma can be configured like that:

// ...
browsers: [
    'VirtualBoxIE11onWin8'
],
// ...
customLaunchers: {
    VirtualBoxIE11onWin8: {
        base: 'VirtualBoxIE11',
        keepAlive: true,
        snapshot: 'pristine',
        uuid: '66975e0d-14f7-4d79-7b8b-b3f6496f0a14'
    }
}
// ...

In case you want to know the uuids of your vms, you can run VBoxManage list vms to get the list of available vms.

Or, you can specify the name of the VM returned by VBoxManage list vms, e.g.:

customLaunchers: {
    VirtualBoxIE11onWin8: {
        base: 'VirtualBoxIE11',
        keepAlive: true,
        snapshot: 'pristine',
        vmName: 'IE11 - Win81'
    }
}

If you explicitly specify the plugins in your config file as well, make sure to add karma-virtualbox-ie11-launcher to the list of plugins.

// ...
plugins: [
    // ...
    'karma-virtualbox-ie11-launcher'
];
// ...

You may also want to increase the captureTimeout of Karma, if your VM takes very long to boot.

Options

keepAlive

If true the virtual machine will not be shut down after the tests.

snapshot

An optional snapshot to which the virtual machine gets reset before starting it.

uuid

The uuid of the virtual machine.