Expand description
Programmatic management of Chrome for Testing installations.
Resolves a chrome / chromedriver pair against the Chrome for Testing release index,
downloads it into a per-user cache, spawns chromedriver on a configurable or OS-assigned
port, and (with the default thirtyfour feature) provides managed WebDriver sessions that
tear down on drop.
Start with Chromedriver::run / Chromedriver::run_default. Reach for
ChromeForTestingManager when you need finer control over the resolve / download / launch
steps.
Structs§
- Chrome
ForTesting Manager - Lower-level orchestrator for chrome-for-testing artifacts.
- Chromedriver
- A handle to a spawned chromedriver process plus its resolved Chrome /
ChromeDriverbinaries. - Chromedriver
RunConfig - Configuration used when running a
ChromeDriverprocess. - Driver
Output Inspectors - Long-lived line-inspecting
Consumerhandles for the chromedriver process’s stdout and stderr streams. - Driver
Output Line - One parsed line from the browser-driver process output.
- Driver
Output Listener - Callback invoked for each parsed browser-driver output line.
- Graceful
Shutdown - Per-platform graceful-shutdown policy passed to
ProcessHandle::terminateand related APIs. - Graceful
Shutdown Builder - Typestate builder for
GracefulShutdown. Created viaGracefulShutdown::builder. - Loaded
Chrome Package - A downloaded Chrome and
ChromeDriverpair, with their on-disk executable paths resolved. - Port
- A TCP port bound (or to be bound) by a chromedriver process.
- Selected
Version - A version of Chrome and
ChromeDriverthat has been resolved against the chrome-for-testing release index but not yet downloaded. - Session
- A browser session. Used to control the browser.
- Unix
Graceful Phase - One step of a Unix graceful-shutdown sequence: a signal to send and a maximum time to wait for the child to exit before escalating.
- Unix
Graceful Shutdown - One or more graceful-shutdown phases dispatched on Unix before the implicit SIGKILL fallback.
- Version
- A version identifier.
- Windows
Graceful Shutdown - Single-phase Windows graceful-shutdown sequence.
Enums§
- Channel
- Chrome release channel.
- Chrome
ForTesting Artifact - The chrome-for-testing artifact involved in an operation.
- Chrome
ForTesting Manager Error - Error contexts reported by chrome-for-testing-manager operations.
- Driver
Output Source - The browser-driver output stream source.
- Port
Request - How chromedriver should pick the port it listens on.
- Unix
Graceful Signal - Graceful-shutdown signal that can be the first or escalation step on Unix before the implicit SIGKILL fallback.
- Version
Request - How to pick which Chrome /
ChromeDriverversion to install and run.
Type Aliases§
- Result
- Convenience alias for
Result<T, rootcause::Report<ChromeForTestingManagerError>>.