Skip to main content
Stealth mode applies anti-detection techniques to help your automated browser sessions bypass bot detection. Use it when interacting with sites that employ bot protection mechanisms.

Basic Usage

Enable standard stealth mode when creating a session:
import { Hyperbrowser } from "@hyperbrowser/sdk";
import { config } from "dotenv";

config();

const client = new Hyperbrowser({
  apiKey: process.env.HYPERBROWSER_API_KEY,
});

const session = await client.sessions.create({
  useStealth: true,
});

Ultra Stealth Mode

For more advanced bot detection evasion, use ultra stealth mode:
Ultra stealth is only available on enterprise plans. Contact us at info@hyperbrowser.ai to learn more.
const session = await client.sessions.create({
  useUltraStealth: true,
  useProxy: true,
});

Combine with Proxies

Stealth mode is most effective when combined with proxies:
const session = await client.sessions.create({
  useStealth: true,
  useProxy: true,
});

Tips

  • Use ultra stealth for challenging sites - useUltraStealth / use_ultra_stealth provides the strongest protection
  • Combine with proxies - Pair stealth with proxies for better results