All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Derive
CloneforElement,ScreenshotParamsandScreenshotParamsBuilder
- Invalid import when using zip0
- Removed async-std support
- Updated edition to 2024
- Bump fetcher chromium to
r1585606 - Bump CDP to
r1566079 - Use a struct
Argfor arguments to combine flags automatically - Browser process no longer inherits stdout
- Update
reqwestto v0.13 - Update
thiserrorto v2 - Update
heckto v0.5 - Add support for
zipv8 and make it default
- Add
add_init_scripttoPagefor scripts before navigation - Add
click_withtoPageandElementfor custom click behavior
Due to the support of new browsers in the fetcher, we changed the API. The changes are mainly related to how you can request a specific version of the browser. Previously you could only request a chromium revision, now we support chrome versions, channel and milestone.
BrowserFetcherOptions::builder()
.with_kind(BrowserKind::Chrome)
.with_version(BrowserVersion::Channel(Channel::Beta))
.build()We also change the output format of the fetch. It is now called a BrowserFetcherInstallation
and contains a BuildInfo. We garantee that at least the version or revision will be present
in that struct, but not always both.
let installation = chromiumoxide_fetcher::BrowserFetcher::new(options).fetch().await?;
println!("Executable path: {}", installation.executable_path.display());Finally, we switched the async runtime tokio by default. We will remove for support for async-std in the next release. If you want to part of the discussion on other runtime support, see #273.
- Bumped MSRV to 1.85 to support edition 2024
- Update
async-tungsteniteto 0.32.0 - Update
whichto 8.0.0 - Replace
winregbywindows-registry - Updated PDL to r1519099 (Chromium 142.0.7431.0)
- Updated fetcher to r1520176 (Chromium 142.0.7435.0)
- Fetch now supports
Chrome for testingandChrome Headless Shell - Now uses tokio by default
- Add option to disable automation detection
- Expose the
cmdmodule for access toCommandChain
- Fixed typo in feature
_fetcher-rustls-tokio - More resilient message parsing, it should now not crash on unknown events coming from the browser
- Extensions should only be disabled when no extensions are provided