1.0.0 • Published 9 years ago

karma-ie-launcher v1.0.0

Weekly downloads
73,222
License
MIT
Repository
github
Last release
9 years ago

karma-ie-launcher

js-standard-style npm version npm downloads

Build Status Dependency Status devDependency Status

Launcher for Internet Explorer.

Installation

The easiest way is to keep karma-ie-launcher as a devDependency, by running

npm install karma-ie-launcher --save-dev

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    browsers: ['IE']
  });
};

You can pass list of browsers as a CLI argument too:

karma start --browsers IE

You can run IE in emulation mode by setting the 'x-ua-compatible' option:

customLaunchers: {
  IE9: {
    base: 'IE',
    'x-ua-compatible': 'IE=EmulateIE9'
  },
  IE8: {
    base: 'IE',
    'x-ua-compatible': 'IE=EmulateIE8'
  }
}

See Specifying legacy document modes on MSDN.

Running IE in "No add-ons mode"

Please note that since v0.2.0 default behaviour of launching Internet Explorer has changed. Now it runs using system-wide configuration (uses same settings as if you would run it manually) but prior to v0.2.0 it was spawned with -extoff flag set explicitly, so all extensions were disabled.

If you expect the same behaviour as it was before v0.2.0, Karma configuration should be slightly changed:

  • create new customLauncher configuration (IE_no_addons is used in an example below) with custom flags (in our case it is -extoff only)
  • browser IE in browsers field should be replaced with your new custom launcher name
  browsers: ['IE_no_addons'],
  customLaunchers: {
    IE_no_addons: {
      base:  'IE',
      flags: ['-extoff']
    }
  }

See IE Command-Line Options on MSDN.


For more information on Karma see the homepage.

@jframe/iocak-gulp@infinitebrahmanuniverse/nolb-karma-ing2-lib-proj@everything-registry/sub-chunk-2005plus.webclient.buildvulcan-jslinterweiler-electrode-archetype-react-app-devshowcar-gulpreinform-scripts-appsuper-powered-api-testingspoonx-toolsrsc-testvideojs-generate-karma-configvideojs-spellbookmetatests-browser-runnerlaxar-infrastructurejester-testermpd-parser-1koutilsgrouchgrumbler-scriptsgrunt-niagarahornet-js-builderhornet-js-builder-newimago-gulp-angularkarma-config-brcjskarma-extjskarma-extjs-jasmine-testerkarma-tfs-stackmaioresnullapacker-unitporrooptiopoke-try-hardpoke-try-hardernode-build-web-appmodern-web-dev-buildrackt-clinva-testng-gulpnpm-preset-videojsrapid-buildsimple-vue-appsilo-toolsslim-clisix-widget-buildsupport@author.io/karma-base@caplin/karma-test-runner@chialab/rna-cli1000-packages@dbg-riskit/dave-ui-devkit@dbg-riskit/angular-devkitya-driverwebpack-karma-jasmineuxcore-toolsuxnuo-tools@krakenjs/karma-config-grumbler@leonardodino/builder-react-component-dev@microfocus/ng-gulp@mapstore/project@ncwade01/makr-frontend-shared@ngineer/testing-utils@jsdevtools/karma-config@samsid032/testing@samsid032/testing-module@stickyroll/testing-utils@nwetzel/modern-web-dev-build@rightscale/ui-build-tools@djforth/ap_karma@djforth/ap_karma_wpelectrode-archetype-opt-karmaelectrode-archetype-react-app-dev-syncelectrode-archetype-react-app-dev-sync-internal-jmcriffeyelectrode-archetype-react-app-sync-develectrode-boltelm-ordealgenerator-white-labelfabsfeng-rc-tools@xarc/opt-karma@zalastax/nolb-karma-iangular-require-typescript-seedangular-buildgemini-webbee-tools-testbch-buildbitcore-rpcbangerbolt-standard-fluxatqueilloars-appaquaavaility-workflow-angularbuilder-victory-component-devbuilder-radium-component-devbuilder-react-app-devbuilder-react-component-devconsequaturlaudantiumcomponerchrisprobably-karma-test-runner
1.0.0

9 years ago

0.2.0

10 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.1

12 years ago