Hi,
HeadlessMode used to be exposed/accessible in version 8.0.0 and since version 9.0.0 it is not.
This seems clearly that it got forgotten to be re-exported in https://github.com/mattsse/chromiumoxide/blob/main/src/browser/mod.rs#L23
From what I can see, the code was restructured (single file browser.rs for the browser module, refactored into a directory with a mod.rs).
In the public API, on BrowserConfigBuilder, there is still the follwowing method:
pub fn headless_mode(self, mode: HeadlessMode) -> Self
The argument requires a HeadlessMode that is not exported anymore.
The fix would simply to re-exported in the mod.rs (line 23)
Thank you in advance.
Hi,
HeadlessModeused to be exposed/accessible in version 8.0.0 and since version 9.0.0 it is not.This seems clearly that it got forgotten to be re-exported in https://github.com/mattsse/chromiumoxide/blob/main/src/browser/mod.rs#L23
From what I can see, the code was restructured (single file browser.rs for the browser module, refactored into a directory with a mod.rs).
In the public API, on
BrowserConfigBuilder, there is still the follwowing method:pub fn headless_mode(self, mode: HeadlessMode) -> SelfThe argument requires a
HeadlessModethat is not exported anymore.The fix would simply to re-exported in the mod.rs (line 23)
Thank you in advance.