
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Tool to launch Selenium IDE HTML files tests
Moonwalker is a tool to execute Selenium IDE tests aka.Selenese tests.
npm install moonwalker --save
Moonwalker needs a Selenium server, standalone or grid, running to execute the tests, it will need to have installed the browsers you expect to launch. If you want to execute the tests using Phantomjs you will need to execute GhostDriver server too.
Moonwalker consists of one api exposing two different elements:
type: Object
Is an object that contains the available reporters that could be used in Moonwalker, now by default we have added the junit reporter.
To call the junit reporter you just need to call moonwalker.reporters.junit
type: Function
Is the function that will read and execute the Selenese tests. The following section explains the arguments needed to execute it properly.
type: Array
Required
This array is an array with the paths to all the Selenese test files.
Example:
[ 'path/to/my/selenese/tests/test1', 'path/to/my/selenese/tests/test2' ]
type: Object
Required
This configuration object is used to setup the environment where the test will be executed and needs at least...
Object
StringNumberArray<Object>Example:
{
selenium: {
host: 'localhost',
port: 4444
},
desiredCapabilities: [
{ browserName: 'chrome' }
]
}
type: function
Required
The reporter is a function that will log the info messages and that could perform especial actions to report the result of the tests.
See reporters section for more information.
type: function
Required
The done function is a function that will be executed when all the tests are executed.
In this example, the default options are used to compile two simple templates.
moonwalker.launcher( ['path/to/selenese/tests/test1'],
{
selenium: {
host: 'localhost',
port: 4444
},
desiredCapabilities: [
{
browserName: 'firefox'
}
]
},
moonwalker.reporters.junit('path/to/reports/junit_report.xml'),
function (){
console.log('Tests finished');
});
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
FAQs
Tool to launch Selenium IDE HTML files tests
We found that moonwalker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.