
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
hermione-passive-browsers
Advanced tools
Plugin for hermione to run tests in passive browsers on request. Passive browsers are browsers in which tests do not run by default.
You can read more about hermione plugins here.
npm install hermione-passive-browsers
Plugin has following configuration:
Boolean – enable/disable the plugin; by default plugin is enabledString|RegExp|Array<String|RegExp> - browsers in which tests should not run by defaultString - command name which will be added to hermione context and used in tests before test or suite declaration for enable test in passed browserAlso there is ability to override plugin parameters by CLI options or environment variables
(see configparser).
Use hermione_passive_browsers_ prefix for the environment variables and --hermione-passive-browsers- for the cli options.
Add plugin to your hermione config file:
module.exports = {
// ...
system: {
plugins: {
'hermione-passive-browsers': {
enabled: true,
browsers: /ie/,
commandName: 'enable'
}
}
},
//...
}
Example:
hermione.enable.in('ie6');
describe('suite', () => {
it('test1', function() {...});
hermione.enable.in(['ie7', /ie[89]/]);
it('test2', function() {...});
hermione.enable.in(/ie1[01]/);
it('test3', function() {...});
})
As a result:
test1 will be run in ie6 browsertest2 will be run in ie6, ie7, ie8 and ie9 browserstest3 will be run in ie6, ie10 and ie11 browsersRun mocha tests:
npm run test-unit
Run eslint codestyle verification
npm run lint
FAQs
Plugin to run tests in passive browsers on request
We found that hermione-passive-browsers demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.

Product
Bringing supply chain security to the next generation of JavaScript package managers