
Security News
Insecure Agents Podcast: Certified Patches, Supply Chain Security, and AI Agents
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.
selenium-stealth
Advanced tools
A nodejs package selenium-stealth to prevent detection. This programme is trying to make nodejs selenium more stealthy.
As of now selenium-stealth
After using selenium-stealth you can prevent almost all selenium detections.
This a nodeJs version of selenium stealth forked from the python version.
And the python version is a re-implementation of JavaScript puppeteer-extra-plugin-stealth developed by @berstend.
Features that currently selenium-stealth can offer:
✅️ selenium-stealth with stealth passes all public bot tests.
✅️ With selenium-stealth selenium can do google account login.
✅️ selenium-stealth help with maintaining a normal reCAPTCHA v3 score
Selenium-stealth is available on npm.
$ npm install selenium-stealth
const SeleniumStealth = require("./selenium_stealth");
const {Builder} = require('selenium-webdriver');
const driver = new Builder()
.withCapabilities({
'goog:chromeOptions': {
excludeSwitches: [
'enable-automation',
'useAutomationExtension',
],
},
})
.forBrowser('chrome')
.build();
const seleniumStealth = new SeleniumStealth(driver)
await seleniumStealth.stealth({
languages: ["en-US", "en"],
vendor: "Google Inc.",
platform: "Win32",
webglVendor: "Intel Inc.",
renderer: "Intel Iris OpenGL Engine",
fixHairline: true
})
driver.get("https://bot.sannysoft.com/");
new SeleniumStealth(driver: Driver)
seleniumStealth.stealth(
userAgent: string= "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.53 Safari/537.36",
languages: [string]= ["en-US", "en"],
vendor: string= "Google Inc.",
platform: string= "Win32",
webglVendor: string = "Intel Inc.",
renderer: string = "Intel Iris OpenGL Engine",
fixHairline: boolean = false,
runOnInsecureOrigins: boolean = false
)
headless | headful |
headless | headful |
Copyright © 2020, praise2112. Released under the MIT License.
FAQs
Evade selenium detection from websites
The npm package selenium-stealth receives a total of 9 weekly downloads. As such, selenium-stealth popularity was classified as not popular.
We found that selenium-stealth 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
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.

Security News
The planned feature introduces a review step before releases go live, following the Shai-Hulud attacks and a rocky migration off classic tokens that disrupted maintainer workflows.