Expand description
Chrome for Testing binary downloader.
See the Fetcher chapter of the zendriver-rs user guide for cache-layout details, offline-mode workflows, and CI integration tips.
Resolves a VersionSpec + Platform pair against the
Chrome for Testing manifest, downloads the matching zip,
extracts it into an atomic cache layout, and hands back a path to the
executable.
Public entry point is Fetcher; progress is reported through
FetcherProgress callbacks tagged with a FetcherPhase.
use zendriver_fetcher::{Fetcher, VersionSpec};
let chrome = Fetcher::new()
.version(VersionSpec::Latest)
.ensure_chrome()
.await?;
println!("Chrome ready at {}", chrome.display());Re-exports§
pub use error::FetcherError;pub use fetcher::Fetcher;pub use platform::Platform;pub use version::Channel;pub use version::VersionSpec;
Modules§
- cache
- Cache directory layout + path resolution.
- download
- HTTP download with progress reporting.
- error
- Fetcher-layer errors.
- extract
- Zip archive extraction.
- fetcher
- Public
Fetcherentry point. - manifest
- Chrome for Testing manifest fetcher.
- platform
- Target platforms understood by the Chrome for Testing manifest.
- resolver
- Version + platform → download URL resolution.
- version
- Version selectors for Chrome for Testing.
Structs§
- Fetcher
Progress - Progress snapshot emitted by an in-flight fetch.
Enums§
- Fetcher
Phase - Lifecycle phase of an in-flight fetch.