bot

package module
v0.0.0-...-48bd5f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2026 License: MIT Imports: 1 Imported by: 0

README

go-bot

Go Reference CI

go-bot is a Go browser automation framework built around a stable Engine / Context / Page API. It focuses on Chromium/Chrome/Edge over CDP, with product-level helpers for launching, tabs, locators, actions, waits, network routing, downloads, storage, diagnostics, reconnect, and custom Chromium/fingerprint-browser integration.

Status: active development. The most mature runtime is Chrome/Edge + CDP; other browser/protocol combinations keep a compatible API surface but may be stubs or experimental.

Features

  • Unified Engine / Context / Page / Element model.
  • Launch, attach, persistent profile, and browser pool workflows.
  • CSS, XPath, semantic locators, relation locators, iframe and shadow DOM helpers.
  • Auto-waits, action chains, retry policies, file upload, screenshots, PDF.
  • Request/response events, routing, auth handling, HAR export/replay.
  • Downloads, local/session storage, IndexedDB, window management.
  • CDP reconnect supervisors and transport diagnostics.
  • Trace files, monitor HTTP server, NDJSON/Gzip export and summary endpoints.
  • Optional fingerprint-browser launch options for custom Chromium builds.

Install

go get github.com/leakdig/go-bot@latest

Requirements:

  • Go 1.23+.
  • A Chromium-compatible browser available on PATH, or a browser path passed with bot.LaunchWithBinary(...).

Quick start

package main

import (
    "context"
    "fmt"
    "log"
    "time"

    bot "github.com/leakdig/go-bot"
)

func main() {
    ctx, cancel := context.WithTimeout(context.Background(), 45*time.Second)
    defer cancel()

    eng, err := bot.Launch(ctx, bot.LaunchWithHeadless(true))
    if err != nil {
        log.Fatal(err)
    }
    defer eng.Close(context.Background())

    browserCtx, err := eng.NewContext(ctx)
    if err != nil {
        log.Fatal(err)
    }

    page, err := browserCtx.NewPage(ctx, bot.WithInitialURL("https://example.com"))
    if err != nil {
        log.Fatal(err)
    }

    title, err := page.Title(ctx)
    if err != nil {
        log.Fatal(err)
    }
    fmt.Println(title)
}

Common workflows

Launch or attach
eng, err := bot.Launch(ctx,
    bot.LaunchWithBrowser(bot.Chrome),
    bot.LaunchWithProtocol(bot.CDP),
    bot.LaunchWithHeadless(true),
)

eng, err = bot.Attach(ctx, "127.0.0.1:9222")
Locators and actions
page.Ele("#login").Click(ctx)
page.ByRole("button", bot.WithRoleName("Submit")).Click(ctx)
page.Actions().Click("#email").Type("#email", "user@example.test").Run(ctx)
Network routing
sub, err := page.Route("*.png", func(ctx context.Context, r bot.Route) error {
    return r.Abort(ctx)
})
if err != nil {
    return err
}
defer sub.Close()
Fingerprint-browser launch options

For custom Chromium builds that expose --fingerprint-* switches, use the high-level options instead of hand-writing every switch:

eng, err := bot.Launch(ctx,
    bot.LaunchWithLaunchArgsPolicy(bot.LaunchArgsPolicyPassthrough),
    bot.LaunchWithArgs("--user-data-dir=/tmp/go-bot-profile"),
    bot.LaunchWithFingerprintCPU(8),
    bot.LaunchWithFingerprintMemory(8),
    bot.LaunchWithFingerprintTimezone("America/New_York"),
    bot.LaunchWithFingerprintLanguage("en-US", []string{"en-US", "en"}, "en-US,en;q=0.9"),
    bot.LaunchWithFingerprintDisplay(1512, 982),
    bot.LaunchWithFingerprintCanvas(bot.FingerprintModeFixed),
    bot.LaunchWithFingerprintAudio(bot.FingerprintModeFixed),
)

FingerprintModeFixed derives stable seeds from the browser profile and stores them locally; users do not need to pass raw canvas/audio seeds.

Documentation

The documentation site lives in docs/:

Local preview:

cd docs
python3 -m http.server 3000
# open http://localhost:3000

Examples

Runnable examples are under examples/. A few good starting points:

See the examples menu for the full list.

Project layout

.
├── exports.go             # public package facade: github.com/leakdig/go-bot
├── internal/botcore       # core implementation and tests
├── internal/fingerprint   # fingerprint launch argument resolver
├── internal/process       # process tree and leakless browser cleanup
├── cfsolver               # optional Cloudflare helper package
├── examples               # runnable examples
└── docs                   # Docsify documentation site

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening a pull request.

Security and responsible use

Use this project only for systems you own or are authorized to test. Do not commit real proxy credentials, account secrets, cookies, or private browser profiles. See SECURITY.md for reporting guidance.

License

MIT. See LICENSE.

Documentation

Overview

Package bot provides a Go browser automation framework focused on Chromium-compatible browsers driven through the Chrome DevTools Protocol.

The public package is a small facade over the internal implementation so the import path stays stable while the implementation can evolve internally.

Code generated by go-bot package facade; DO NOT EDIT.

Index

Constants

View Source
const (
	ArtifactsLevelAuto                = core.ArtifactsLevelAuto
	ArtifactsLevelFull                = core.ArtifactsLevelFull
	ArtifactsLevelMeta                = core.ArtifactsLevelMeta
	ArtifactsLevelMetaHTML            = core.ArtifactsLevelMetaHTML
	AttachManaged                     = core.AttachManaged
	AttachUnmanaged                   = core.AttachUnmanaged
	BatchEvalOpAttribute              = core.BatchEvalOpAttribute
	BatchEvalOpExists                 = core.BatchEvalOpExists
	BatchEvalOpHTML                   = core.BatchEvalOpHTML
	BatchEvalOpIsVisible              = core.BatchEvalOpIsVisible
	BatchEvalOpText                   = core.BatchEvalOpText
	BatchEvalOpValue                  = core.BatchEvalOpValue
	BiDi                              = core.BiDi
	CDP                               = core.CDP
	CDPControlPathAuto                = core.CDPControlPathAuto
	CDPControlPathBrowserSession      = core.CDPControlPathBrowserSession
	CDPControlPathPageWSPrefer        = core.CDPControlPathPageWSPrefer
	CDPSessionKindContextEphemeral    = core.CDPSessionKindContextEphemeral
	CDPSessionKindPageAttached        = core.CDPSessionKindPageAttached
	CDPSessionKindPageWebSocket       = core.CDPSessionKindPageWebSocket
	CDPSessionKindUnknown             = core.CDPSessionKindUnknown
	CallRetryAll                      = core.CallRetryAll
	CallRetryStrict                   = core.CallRetryStrict
	Chrome                            = core.Chrome
	CleanupPolicyAuto                 = core.CleanupPolicyAuto
	CleanupPolicyPreserveAll          = core.CleanupPolicyPreserveAll
	CleanupPolicyRemoveAll            = core.CleanupPolicyRemoveAll
	CleanupPolicyRemoveOwned          = core.CleanupPolicyRemoveOwned
	CloseActionClose                  = core.CloseActionClose
	CloseActionDetach                 = core.CloseActionDetach
	CloseActionNone                   = core.CloseActionNone
	CloseActionShutdown               = core.CloseActionShutdown
	CookieCleanupPresetCommonConsent  = core.CookieCleanupPresetCommonConsent
	CookieCleanupPresetCookiebot      = core.CookieCleanupPresetCookiebot
	CookieCleanupPresetOneTrust       = core.CookieCleanupPresetOneTrust
	Edge                              = core.Edge
	EmulatedColorSchemeDark           = core.EmulatedColorSchemeDark
	EmulatedColorSchemeLight          = core.EmulatedColorSchemeLight
	EmulatedColorSchemeNoPreference   = core.EmulatedColorSchemeNoPreference
	EmulatedColorSchemeUnset          = core.EmulatedColorSchemeUnset
	EmulatedForcedColorsActive        = core.EmulatedForcedColorsActive
	EmulatedForcedColorsNone          = core.EmulatedForcedColorsNone
	EmulatedForcedColorsUnset         = core.EmulatedForcedColorsUnset
	EmulatedReducedMotionNoPreference = core.EmulatedReducedMotionNoPreference
	EmulatedReducedMotionReduce       = core.EmulatedReducedMotionReduce
	EmulatedReducedMotionUnset        = core.EmulatedReducedMotionUnset
	FingerprintModeFixed              = core.FingerprintModeFixed
	FingerprintModeRandom             = core.FingerprintModeRandom
	FingerprintModeSystem             = core.FingerprintModeSystem
	FingerprintWebRTCDisableUDP       = core.FingerprintWebRTCDisableUDP
	FingerprintWebRTCNative           = core.FingerprintWebRTCNative
	FingerprintWebRTCReplace          = core.FingerprintWebRTCReplace
	Firefox                           = core.Firefox
	InterceptBeforeRequest            = core.InterceptBeforeRequest
	InterceptResponse                 = core.InterceptResponse
	LaunchArgsPolicyManaged           = core.LaunchArgsPolicyManaged
	LaunchArgsPolicyPassthrough       = core.LaunchArgsPolicyPassthrough
	LaunchManaged                     = core.LaunchManaged
	LaunchModeAuto                    = core.LaunchModeAuto
	LoadStateDOMContentLoaded         = core.LoadStateDOMContentLoaded
	LoadStateLoad                     = core.LoadStateLoad
	LoadStateNetworkIdle              = core.LoadStateNetworkIdle
	MouseLeft                         = core.MouseLeft
	MouseMiddle                       = core.MouseMiddle
	MouseRight                        = core.MouseRight
	NavigationBack                    = core.NavigationBack
	NavigationForward                 = core.NavigationForward
	NavigationGoto                    = core.NavigationGoto
	NavigationReload                  = core.NavigationReload
	PacketRequest                     = core.PacketRequest
	PacketResponse                    = core.PacketResponse
	RetryAttemptsUnlimited            = core.RetryAttemptsUnlimited
	RoutePauseStageRequest            = core.RoutePauseStageRequest
	RoutePauseStageResponse           = core.RoutePauseStageResponse
	RoutePauseStageUnknown            = core.RoutePauseStageUnknown
	Safari                            = core.Safari
	SignalHandlingAuto                = core.SignalHandlingAuto
	SignalHandlingManual              = core.SignalHandlingManual
	SignalHandlingOff                 = core.SignalHandlingOff
	WindowStateFullscreen             = core.WindowStateFullscreen
	WindowStateMaximized              = core.WindowStateMaximized
	WindowStateMinimized              = core.WindowStateMinimized
	WindowStateNormal                 = core.WindowStateNormal
)

Variables

View Source
var (
	ErrClosed                        = core.ErrClosed
	ErrContextNotFound               = core.ErrContextNotFound
	ErrElementNotFound               = core.ErrElementNotFound
	ErrNavigationFailed              = core.ErrNavigationFailed
	ErrNotImplemented                = core.ErrNotImplemented
	ErrPageNotFound                  = core.ErrPageNotFound
	ErrPoolClosed                    = core.ErrPoolClosed
	ErrProfileBusy                   = core.ErrProfileBusy
	ErrProfileInUse                  = core.ErrProfileInUse
	ErrReconnectOverflow             = core.ErrReconnectOverflow
	ErrShadowClosed                  = core.ErrShadowClosed
	ErrStaleDevToolsPort             = core.ErrStaleDevToolsPort
	ErrTimeout                       = core.ErrTimeout
	Attach                           = core.Attach
	ClearContextCookiePreset         = core.ClearContextCookiePreset
	ClearPageCookiePreset            = core.ClearPageCookiePreset
	CookieCleanupSelectors           = core.CookieCleanupSelectors
	ExportContextCookiesToJar        = core.ExportContextCookiesToJar
	ExportPageCookiesToJar           = core.ExportPageCookiesToJar
	Launch                           = core.Launch
	LaunchOrAttach                   = core.LaunchOrAttach
	LaunchPersistent                 = core.LaunchPersistent
	LaunchWithAddress                = core.LaunchWithAddress
	LaunchWithArgs                   = core.LaunchWithArgs
	LaunchWithArtifacts              = core.LaunchWithArtifacts
	LaunchWithArtifactsDir           = core.LaunchWithArtifactsDir
	LaunchWithArtifactsLevel         = core.LaunchWithArtifactsLevel
	LaunchWithAutoPort               = core.LaunchWithAutoPort
	LaunchWithBinary                 = core.LaunchWithBinary
	LaunchWithBrowser                = core.LaunchWithBrowser
	LaunchWithCDPControlPath         = core.LaunchWithCDPControlPath
	LaunchWithCDPMethodRateLimit     = core.LaunchWithCDPMethodRateLimit
	LaunchWithCDPMethodRateLimits    = core.LaunchWithCDPMethodRateLimits
	LaunchWithCDPRecord              = core.LaunchWithCDPRecord
	LaunchWithCleanupPolicy          = core.LaunchWithCleanupPolicy
	LaunchWithDebugPort              = core.LaunchWithDebugPort
	LaunchWithDiagnostics            = core.LaunchWithDiagnostics
	LaunchWithDownloadDir            = core.LaunchWithDownloadDir
	LaunchWithDryRun                 = core.LaunchWithDryRun
	LaunchWithExistingOnly           = core.LaunchWithExistingOnly
	LaunchWithExtensions             = core.LaunchWithExtensions
	LaunchWithFingerprintAudio       = core.LaunchWithFingerprintAudio
	LaunchWithFingerprintCPU         = core.LaunchWithFingerprintCPU
	LaunchWithFingerprintCanvas      = core.LaunchWithFingerprintCanvas
	LaunchWithFingerprintDisplay     = core.LaunchWithFingerprintDisplay
	LaunchWithFingerprintLanguage    = core.LaunchWithFingerprintLanguage
	LaunchWithFingerprintMemory      = core.LaunchWithFingerprintMemory
	LaunchWithFingerprintTimezone    = core.LaunchWithFingerprintTimezone
	LaunchWithFingerprintUILocale    = core.LaunchWithFingerprintUILocale
	LaunchWithFingerprintWebRTC      = core.LaunchWithFingerprintWebRTC
	LaunchWithHeadless               = core.LaunchWithHeadless
	LaunchWithHistoryLimits          = core.LaunchWithHistoryLimits
	LaunchWithKeepBrowserAlive       = core.LaunchWithKeepBrowserAlive
	LaunchWithKeepUserDataDir        = core.LaunchWithKeepUserDataDir
	LaunchWithLaunchArgsPolicy       = core.LaunchWithLaunchArgsPolicy
	LaunchWithLeakless               = core.LaunchWithLeakless
	LaunchWithListenerPanicThreshold = core.LaunchWithListenerPanicThreshold
	LaunchWithLogger                 = core.LaunchWithLogger
	LaunchWithMode                   = core.LaunchWithMode
	LaunchWithProfileDirectory       = core.LaunchWithProfileDirectory
	LaunchWithProtocol               = core.LaunchWithProtocol
	LaunchWithProxy                  = core.LaunchWithProxy
	LaunchWithReconnect              = core.LaunchWithReconnect
	LaunchWithRemoteAllowOrigins     = core.LaunchWithRemoteAllowOrigins
	LaunchWithRetryPolicy            = core.LaunchWithRetryPolicy
	LaunchWithSignalHandling         = core.LaunchWithSignalHandling
	LaunchWithUserDataDir            = core.LaunchWithUserDataDir
	LoadContextCookiesFromJar        = core.LoadContextCookiesFromJar
	LoadPageCookiesFromJar           = core.LoadPageCookiesFromJar
	MustAttach                       = core.MustAttach
	MustLaunch                       = core.MustLaunch
	MustLaunchOrAttach               = core.MustLaunchOrAttach
	MustLaunchPersistent             = core.MustLaunchPersistent
	MustNew                          = core.MustNew
	MustNewBrowserPool               = core.MustNewBrowserPool
	New                              = core.New
	NewBrowserPool                   = core.NewBrowserPool
	ParseBrowser                     = core.ParseBrowser
	ParseProtocol                    = core.ParseProtocol
	PiercingClick                    = core.PiercingClick
	PiercingDocument                 = core.PiercingDocument
	PiercingInputCheckbox            = core.PiercingInputCheckbox
	PiercingNodeBox                  = core.PiercingNodeBox
	PiercingRoleCheckbox             = core.PiercingRoleCheckbox
	PiercingTagWithAttr              = core.PiercingTagWithAttr
	RegisterFactory                  = core.RegisterFactory
	RetryOnce                        = core.RetryOnce
	RetryUnlimited                   = core.RetryUnlimited
	RetryUpTo                        = core.RetryUpTo
	SupportedCombos                  = core.SupportedCombos
	WithBrowserPoolFactory           = core.WithBrowserPoolFactory
	WithBrowserPoolHealthCheck       = core.WithBrowserPoolHealthCheck
	WithBrowserPoolLaunchOptions     = core.WithBrowserPoolLaunchOptions
	WithBrowserPoolPrewarm           = core.WithBrowserPoolPrewarm
	WithClickButton                  = core.WithClickButton
	WithClickCount                   = core.WithClickCount
	WithClickDelay                   = core.WithClickDelay
	WithClickPosition                = core.WithClickPosition
	WithContextEnv                   = core.WithContextEnv
	WithContextName                  = core.WithContextName
	WithContinueHeaders              = core.WithContinueHeaders
	WithContinueMethod               = core.WithContinueMethod
	WithContinuePostData             = core.WithContinuePostData
	WithContinueURL                  = core.WithContinueURL
	WithFingerprintAudioContext      = core.WithFingerprintAudioContext
	WithFingerprintAudioNoise        = core.WithFingerprintAudioNoise
	WithGotoTimeout                  = core.WithGotoTimeout
	WithInitialURL                   = core.WithInitialURL
	WithInterceptFilter              = core.WithInterceptFilter
	WithInterceptMethods             = core.WithInterceptMethods
	WithInterceptPhases              = core.WithInterceptPhases
	WithInterceptResourceTypes       = core.WithInterceptResourceTypes
	WithInterceptStatusRange         = core.WithInterceptStatusRange
	WithInterceptStatuses            = core.WithInterceptStatuses
	WithMonitorToken                 = core.WithMonitorToken
	WithPDFLandscape                 = core.WithPDFLandscape
	WithPDFMargins                   = core.WithPDFMargins
	WithPDFPageRanges                = core.WithPDFPageRanges
	WithPDFPaperSize                 = core.WithPDFPaperSize
	WithPDFPrintBackground           = core.WithPDFPrintBackground
	WithPDFScale                     = core.WithPDFScale
	WithPageDefaultTimeout           = core.WithPageDefaultTimeout
	WithPageEnv                      = core.WithPageEnv
	WithPageGotoTimeout              = core.WithPageGotoTimeout
	WithPageInitialURL               = core.WithPageInitialURL
	WithPageRetryPolicy              = core.WithPageRetryPolicy
	WithPageWaitUntil                = core.WithPageWaitUntil
	WithPressDelay                   = core.WithPressDelay
	WithRoleCaseSensitive            = core.WithRoleCaseSensitive
	WithRoleExact                    = core.WithRoleExact
	WithRoleName                     = core.WithRoleName
	WithScreenshotClip               = core.WithScreenshotClip
	WithScreenshotFullPage           = core.WithScreenshotFullPage
	WithScreenshotQuality            = core.WithScreenshotQuality
	WithScreenshotSelector           = core.WithScreenshotSelector
	WithScreenshotType               = core.WithScreenshotType
	WithScriptTagAsync               = core.WithScriptTagAsync
	WithScriptTagContent             = core.WithScriptTagContent
	WithScriptTagDefer               = core.WithScriptTagDefer
	WithScriptTagType                = core.WithScriptTagType
	WithScriptTagURL                 = core.WithScriptTagURL
	WithSetContentTimeout            = core.WithSetContentTimeout
	WithSetContentWaitUntil          = core.WithSetContentWaitUntil
	WithSkipActionability            = core.WithSkipActionability
	WithStyleTagContent              = core.WithStyleTagContent
	WithStyleTagMedia                = core.WithStyleTagMedia
	WithStyleTagURL                  = core.WithStyleTagURL
	WithTraceFileMaxBackups          = core.WithTraceFileMaxBackups
	WithTraceFileMaxBytes            = core.WithTraceFileMaxBytes
	WithTraceFileRotateDaily         = core.WithTraceFileRotateDaily
	WithTypeDelay                    = core.WithTypeDelay
	WithWaitUntil                    = core.WithWaitUntil
)

Functions

This section is empty.

Types

type ActionChain

type ActionChain = core.ActionChain

type AfterClickHook

type AfterClickHook = core.AfterClickHook

type ArtifactsLevel

type ArtifactsLevel = core.ArtifactsLevel

type BatchEval

type BatchEval = core.BatchEval

type BatchEvalItem

type BatchEvalItem = core.BatchEvalItem

type BatchEvalOp

type BatchEvalOp = core.BatchEvalOp

type BatchEvalResult

type BatchEvalResult = core.BatchEvalResult

type BeforeNavigateHook

type BeforeNavigateHook = core.BeforeNavigateHook

type Browser

type Browser = core.Browser

type BrowserPool

type BrowserPool = core.BrowserPool

type BrowserPoolFactory

type BrowserPoolFactory = core.BrowserPoolFactory

type BrowserPoolHealthCheck

type BrowserPoolHealthCheck = core.BrowserPoolHealthCheck

type BrowserPoolOption

type BrowserPoolOption = core.BrowserPoolOption

type BrowserPoolOptions

type BrowserPoolOptions = core.BrowserPoolOptions

type BrowserPoolStats

type BrowserPoolStats = core.BrowserPoolStats

type CDPBudgetStats

type CDPBudgetStats = core.CDPBudgetStats

type CDPControlPath

type CDPControlPath = core.CDPControlPath

type CDPReconnectStats

type CDPReconnectStats = core.CDPReconnectStats

type CDPSessionKind

type CDPSessionKind = core.CDPSessionKind

type CDPTransportStats

type CDPTransportStats = core.CDPTransportStats

type CallRetryMode

type CallRetryMode = core.CallRetryMode

type Capabilities

type Capabilities = core.Capabilities

type CleanupPolicy

type CleanupPolicy = core.CleanupPolicy

type ClickOption

type ClickOption = core.ClickOption

type ClickOptions

type ClickOptions = core.ClickOptions

type CloseAction

type CloseAction = core.CloseAction

type CloseReport

type CloseReport = core.CloseReport

type Config

type Config = core.Config

type ConsoleMessage

type ConsoleMessage = core.ConsoleMessage

type Context

type Context = core.Context

type ContextOption

type ContextOption = core.ContextOption

type ContextOptions

type ContextOptions = core.ContextOptions

type ContinueOption

type ContinueOption = core.ContinueOption

type ContinueOptions

type ContinueOptions = core.ContinueOptions
type Cookie = core.Cookie

type CookieCleanupPreset

type CookieCleanupPreset = core.CookieCleanupPreset

type CookieInput

type CookieInput = core.CookieInput

type CookieSelector

type CookieSelector = core.CookieSelector

type DialogEvent

type DialogEvent = core.DialogEvent

type DownloadEvent

type DownloadEvent = core.DownloadEvent

type DownloadManager

type DownloadManager = core.DownloadManager

type Element

type Element = core.Element

type ElementWaiter

type ElementWaiter = core.ElementWaiter

type EmulatedColorScheme

type EmulatedColorScheme = core.EmulatedColorScheme

type EmulatedForcedColors

type EmulatedForcedColors = core.EmulatedForcedColors

type EmulatedReducedMotion

type EmulatedReducedMotion = core.EmulatedReducedMotion

type EmulationManager

type EmulationManager = core.EmulationManager

type Engine

type Engine = core.Engine

type EngineDiagnostics

type EngineDiagnostics = core.EngineDiagnostics

type EngineOwnership

type EngineOwnership = core.EngineOwnership

type EnvProfile

type EnvProfile = core.EnvProfile

type ExposedFunction

type ExposedFunction = core.ExposedFunction

type FileDialogEvent

type FileDialogEvent = core.FileDialogEvent

type FingerprintAudioOption

type FingerprintAudioOption = core.FingerprintAudioOption

type FingerprintMode

type FingerprintMode = core.FingerprintMode

type FingerprintWebRTCMode

type FingerprintWebRTCMode = core.FingerprintWebRTCMode

type Frame

type Frame = core.Frame

type FulfillResponse

type FulfillResponse = core.FulfillResponse

type Geolocation

type Geolocation = core.Geolocation

type GotoOption

type GotoOption = core.GotoOption

type GotoOptions

type GotoOptions = core.GotoOptions

type HistoryLimits

type HistoryLimits = core.HistoryLimits

type IndexedDBDatabase

type IndexedDBDatabase = core.IndexedDBDatabase

type IndexedDBRecord

type IndexedDBRecord = core.IndexedDBRecord

type IndexedDBScope

type IndexedDBScope = core.IndexedDBScope

type InterceptEvent

type InterceptEvent = core.InterceptEvent

type InterceptFilter

type InterceptFilter = core.InterceptFilter

type InterceptHandler

type InterceptHandler = core.InterceptHandler

type InterceptManager

type InterceptManager = core.InterceptManager

type InterceptOption

type InterceptOption = core.InterceptOption

type InterceptOptions

type InterceptOptions = core.InterceptOptions

type InterceptPhase

type InterceptPhase = core.InterceptPhase

type InterceptedRequest

type InterceptedRequest = core.InterceptedRequest

type InternalOpStats

type InternalOpStats = core.InternalOpStats

type LaunchArgsPolicy

type LaunchArgsPolicy = core.LaunchArgsPolicy

type LaunchMode

type LaunchMode = core.LaunchMode

type LaunchOption

type LaunchOption = core.LaunchOption

type LoadState

type LoadState = core.LoadState

type Meta

type Meta = core.Meta

type MobilePreset

type MobilePreset = core.MobilePreset

type MonitorServeOption

type MonitorServeOption = core.MonitorServeOption

type MonitorServeOptions

type MonitorServeOptions = core.MonitorServeOptions

type MonitorServer

type MonitorServer = core.MonitorServer

type MonitorSnapshot

type MonitorSnapshot = core.MonitorSnapshot

type MouseButton

type MouseButton = core.MouseButton
type NavigationAction = core.NavigationAction
type NavigationEvent = core.NavigationEvent
type NavigationManager = core.NavigationManager

type NetworkFilter

type NetworkFilter = core.NetworkFilter

type NetworkManager

type NetworkManager = core.NetworkManager

type NetworkPacket

type NetworkPacket = core.NetworkPacket

type NetworkResponseData

type NetworkResponseData = core.NetworkResponseData

type NetworkTransaction

type NetworkTransaction = core.NetworkTransaction

type PDFOption

type PDFOption = core.PDFOption

type PDFOptions

type PDFOptions = core.PDFOptions

type PacketType

type PacketType = core.PacketType

type Page

type Page = core.Page

type PageCreatedHook

type PageCreatedHook = core.PageCreatedHook

type PageDiagnostics

type PageDiagnostics = core.PageDiagnostics

type PageEnvironment

type PageEnvironment = core.PageEnvironment

type PageHooks

type PageHooks = core.PageHooks

type PageInteraction

type PageInteraction = core.PageInteraction

type PageLifecycle

type PageLifecycle = core.PageLifecycle

type PageManagers

type PageManagers = core.PageManagers
type PageNavigation = core.PageNavigation

type PageNetworkControl

type PageNetworkControl = core.PageNetworkControl

type PageOption

type PageOption = core.PageOption

type PageOptions

type PageOptions = core.PageOptions

type PageQuery

type PageQuery = core.PageQuery

type PageTabs

type PageTabs = core.PageTabs

type PageWaiter

type PageWaiter = core.PageWaiter

type PiercingBox

type PiercingBox = core.PiercingBox

type PiercingNode

type PiercingNode = core.PiercingNode

type Point

type Point = core.Point

type PooledEngine

type PooledEngine = core.PooledEngine

type PressOption

type PressOption = core.PressOption

type PressOptions

type PressOptions = core.PressOptions

type Protocol

type Protocol = core.Protocol

type ProtocolEvent

type ProtocolEvent = core.ProtocolEvent

type RaceBuilder

type RaceBuilder = core.RaceBuilder

type RaceElementBuilder

type RaceElementBuilder = core.RaceElementBuilder

type RaceResult

type RaceResult = core.RaceResult

type RawBridge

type RawBridge = core.RawBridge

type ReconnectPolicy

type ReconnectPolicy = core.ReconnectPolicy

type Rect

type Rect = core.Rect

type RedirectResponse

type RedirectResponse = core.RedirectResponse

type RequestEvent

type RequestEvent = core.RequestEvent

type ResponseEvent

type ResponseEvent = core.ResponseEvent

type RetryPolicy

type RetryPolicy = core.RetryPolicy

type RoleOption

type RoleOption = core.RoleOption

type RoleOptions

type RoleOptions = core.RoleOptions

type Route

type Route = core.Route

type RouteHandler

type RouteHandler = core.RouteHandler

type RoutePauseStage

type RoutePauseStage = core.RoutePauseStage

type ScreenshotOption

type ScreenshotOption = core.ScreenshotOption

type ScreenshotOptions

type ScreenshotOptions = core.ScreenshotOptions

type ScriptTagOption

type ScriptTagOption = core.ScriptTagOption

type ScriptTagOptions

type ScriptTagOptions = core.ScriptTagOptions

type SetContentOption

type SetContentOption = core.SetContentOption

type SetContentOptions

type SetContentOptions = core.SetContentOptions

type SignalHandlingMode

type SignalHandlingMode = core.SignalHandlingMode

type StorageManager

type StorageManager = core.StorageManager

type StorageScope

type StorageScope = core.StorageScope

type StyleTagOption

type StyleTagOption = core.StyleTagOption

type StyleTagOptions

type StyleTagOptions = core.StyleTagOptions

type Subscription

type Subscription = core.Subscription

type TraceEvent

type TraceEvent = core.TraceEvent

type TraceFileOption

type TraceFileOption = core.TraceFileOption

type TraceFileOptions

type TraceFileOptions = core.TraceFileOptions

type TypeOption

type TypeOption = core.TypeOption

type TypeOptions

type TypeOptions = core.TypeOptions

type UnsupportedComboError

type UnsupportedComboError = core.UnsupportedComboError

type Viewport

type Viewport = core.Viewport

type WaitTask

type WaitTask = core.WaitTask

type WindowBounds

type WindowBounds = core.WindowBounds

type WindowManager

type WindowManager = core.WindowManager

type WindowState

type WindowState = core.WindowState

Directories

Path Synopsis
Package cfsolver wraps go-bot's piercing primitives with a single high-level call that drives the page through a Cloudflare interstitial or Turnstile challenge.
Package cfsolver wraps go-bot's piercing primitives with a single high-level call that drives the page through a Cloudflare interstitial or Turnstile challenge.
examples
actions_chain command
basic command
browser_pool command
cdp_cf_interstitial_tgjones command
Example: solve the Cloudflare interstitial on tgjonesonline.co.uk.
Example: solve the Cloudflare interstitial on tgjonesonline.co.uk.
cdp_dialog command
cdp_elements command
element_facade command
frame_scope command
locator_nth command
locator_tree command
monitor_trace command
network_manager command
shadow_root command
storage_manager command
window_manager command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL