pub enum CheckId {
Show 18 variants
WebDriverFlag,
ChromeObject,
PluginCount,
LanguagesPresent,
CanvasConsistency,
WebGlVendor,
AutomationGlobals,
OuterWindowSize,
HeadlessUserAgent,
NotificationPermission,
MatchMediaPresent,
ElementFromPointPresent,
RequestAnimationFramePresent,
GetComputedStylePresent,
CssSupportsPresent,
SendBeaconPresent,
ExecCommandPresent,
NodeJsAbsent,
}Expand description
Stable identifier for a built-in stealth detection check.
Variants§
WebDriverFlag
navigator.webdriver must be undefined or false.
ChromeObject
window.chrome.runtime must be present (absent in headless by default).
PluginCount
navigator.plugins must have at least one entry.
LanguagesPresent
navigator.languages must be non-empty.
CanvasConsistency
Canvas toDataURL() must return non-trivial image data.
WebGlVendor
WebGL vendor/renderer must not contain the SwiftShader software-renderer marker.
AutomationGlobals
No automation-specific globals (__puppeteer__, __playwright, etc.) must be present.
OuterWindowSize
window.outerWidth and window.outerHeight must be non-zero.
HeadlessUserAgent
navigator.userAgent must not contain the "HeadlessChrome" substring.
NotificationPermission
Notification.permission must not be pre-granted (automation artefact).
MatchMediaPresent
window.matchMedia must be a function (PX env-bitmask bit 0).
ElementFromPointPresent
document.elementFromPoint must be a function (PX env-bitmask bit 1).
RequestAnimationFramePresent
window.requestAnimationFrame must be a function (PX env-bitmask bit 2).
GetComputedStylePresent
window.getComputedStyle must be a function (PX env-bitmask bit 3).
CssSupportsPresent
CSS.supports must exist and be callable (PX env-bitmask bit 4).
SendBeaconPresent
navigator.sendBeacon must be a function (PX env-bitmask bit 5).
ExecCommandPresent
document.execCommand must be a function (PX env-bitmask bit 6).
NodeJsAbsent
process.versions.node must be absent — not a Node.js environment (PX env-bitmask bit 7).