Skip to main content

Stealth Mode

Setting a stealth mode

Stealth mode helps to reduce bot detection on sites, we're continuously updating our software to decrease detection and make the browser behavior closer to real users.

Stealth mode is enabled by default, but you can set the mode which may work better for you depending on what automation task you are solving and what site you are parsing

There are several stealth modes:

  • off - Disables all plugins for stealth browser work
  • stealth - Uses a standard stealth mode for Puppeteer (default)
  • stealth-v2 - Uses a specially patched version of the Puppeteer version which removes the typical behavior of automation software that can be detected by JS scripts on the site. This mode passes the most popular bot detectors like fingerpring.com, browserscan.net and others.
ParameterAvailable valuesDescription
stealthModeoff, stealth (default), stealth-v2Stealth mode
import puppeteer from "puppeteer-core";

const browser = await puppeteer.connect({
browserWSEndpoint: `wss://chrome-v2.browsercloud.io?token=API_TOKEN&stealthMode=stealth-v2`,
});
// ...

Device Fingerprint

A device fingerprint is an extensive collection of data gathered from a device including cookies, headers, operating system versions, graphics card information, and many other elements. Browsercloud randomizes this data for each request, ensuring that every visit appears unique to the server.

By default, Browsecloud uses fingerprints of real Windows OS for desktop devices. You can set another os listed below:

ParameterAvailable valuesDescription
oswindows, macos, linux, android, ios.
off - to disable fingerprints
OS fingerprint
import puppeteer from "puppeteer-core";

const browser = await puppeteer.connect({
browserWSEndpoint: `wss://chrome-v2.browsercloud.io?token=API_TOKEN&os=ios`,
});
// ...