Skip to main content
Info

In short: these pages explain the web from the bottom up, in plain words, for people who automate browsers and need to know why a test behaves the way it does. Each page ends with the part that matters to seleniumbase-rs, so the explanation and the API sit side by side. Read them in order, or jump to the group that matches the problem you have.

Where to start#

If a test…Start with
passes sometimes and fails sometimesHow a page loads and renders, then JavaScript, events and the Web APIs
cannot find an element, or finds the wrong oneSelectors, the DOM and frameworks
is blocked, or meets a CAPTCHADetection and spoofing, then CAPTCHAs
loses its login, or needs to skip the loginSessions, cookies, storage and logging in
fails only on CI or in a containerContainers, CI/CD and deployment, then Browser architecture
fails on one site after the site was deployedBundling, compression and caching
needs a proxy, a fake response or a recording of the trafficThe network, TCP, proxies and traffic capture
should be driven by an AI assistantAI, machine learning and the Model Context Protocol

Start here#

Automating a browser#

  • WebDriver and drivers: the W3C protocol, the driver binary, sessions, element references and why tests flake without waits.
  • The DevTools Protocol and developer tools: the panels you use by hand and the WebSocket protocol behind them, which the pure CDP engine speaks directly.
  • AI, machine learning and MCP: how an assistant drives a browser through the Model Context Protocol, and how to test sites that contain ML.
  • Detection and spoofing: the signals a site reads to tell a program from a person, and where the library answers each one.
  • CAPTCHAs: what they are for, how bot-management scoring works, and what the library does and does not do.
  • Browser extensions: Manifest V3, content scripts, and how automation loads an extension.

Pages and the DOM#

Network and the wire#

State, identity and forms#

  • Sessions, cookies, storage and logging in: cookies, web storage, profiles, OAuth, JWTs, TOTP, passkeys, and saving a signed-in state.
  • Forms: input types, validation, encodings, uploads, CSRF tokens and framework-controlled inputs.

Security#

Building and shipping web apps#

Reach: mobile, accessibility, SEO and media#

Reference#

  • Glossary: short definitions of every term used in these pages.