
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
selenium-grid-status
Advanced tools
A Selenium grid has no public API to get a list of browers attached and available to test with.
This module parses /grid/console and returns a JSON array of the browers that are available.
npm install selenium-grid-status
var grid = require('selenium-grid-status');
grid.available({
host: '10.0.1.25',
}, function(err, available) {
if (err) {
console.log('Error', err);
process.exit(1);
}
console.log(JSON.stringify(available, null, 4));
console.log('There are', available.length, 'browsers attached and ready');
});
This should print something like this:
[
{
"platform": "XP",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.133:5555"
},
{
"platform": "XP",
"browserName": "internet explorer",
"maxInstances": "1",
"host": "http://10.0.1.133:5555"
},
{
"platform": "XP",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.126:5555"
},
{
"platform": "XP",
"browserName": "internet explorer",
"maxInstances": "1",
"host": "http://10.0.1.126:5555"
},
{
"platform": "XP",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.116:5555"
},
{
"platform": "XP",
"browserName": "internet explorer",
"maxInstances": "1",
"host": "http://10.0.1.116:5555"
},
{
"platform": "WINDOWS",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.128:5555"
},
{
"platform": "WINDOWS",
"browserName": "chrome",
"maxInstances": "1",
"host": "http://10.0.1.128:5555"
},
{
"platform": "WINDOWS",
"browserName": "internet explorer",
"maxInstances": "1",
"host": "http://10.0.1.128:5555"
},
{
"platform": "MAC",
"browserName": "chrome",
"maxInstances": "1",
"host": "http://10.0.1.50:5555"
},
{
"platform": "MAC",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.50:5555"
},
{
"platform": "MAC",
"browserName": "chrome",
"maxInstances": "1",
"host": "http://10.0.1.173:5555"
},
{
"platform": "MAC",
"browserName": "firefox",
"maxInstances": "1",
"host": "http://10.0.1.173:5555"
}
]
There are 13 browsers attached and ready
FAQs
Fetch available browsers from a Selenium grid
We found that selenium-grid-status 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.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.