Skip to main content

Module browser

Module browser 

Source
Expand description

Browser management for browser automation.

This module provides utilities for:

  • Launching browser instances
  • Navigation operations

Re-exports§

pub use chromiumoxide_adapter::ChromiumoxidePage;
pub use connector::connect_browser;
pub use connector::ConnectOptions;
pub use launcher::launch_browser;
pub use launcher::Browser;
pub use launcher::LaunchOptions;
pub use launcher::LaunchResult;
pub use media::emulate_media;
pub use media::ColorScheme;
pub use media::EmulateMediaOptions;
pub use navigation_ops::goto;
pub use navigation_ops::verify_navigation;
pub use navigation_ops::wait_for_navigation;
pub use navigation_ops::wait_for_url_stabilization;
pub use navigation_ops::NavigationOptions;
pub use navigation_ops::NavigationResult;
pub use navigation_ops::NavigationVerificationResult;
pub use navigation_ops::WaitUntil;
pub use node_bridge::NodeBridgePage;
pub use real_browser::assert_dedicated_user_data_dir;
pub use real_browser::build_real_browser_args;
pub use real_browser::default_real_browser_user_data_dir;
pub use real_browser::launch_and_connect_real_browser;
pub use real_browser::launch_real_browser;
pub use real_browser::resolve_system_browser_executable;
pub use real_browser::BrowserProcess;
pub use real_browser::RealBrowserLaunchResult;
pub use real_browser::RealBrowserOptions;

Modules§

chromiumoxide_adapter
Chromiumoxide-backed EngineAdapter implementation.
connector
Connect to an already-running Chromium-family browser over CDP.
launcher
Browser launcher for browser automation.
media
Media emulation for browser automation.
navigation_ops
Navigation operations for browser automation.
node_bridge
Node.js CLI bridge for Playwright and Puppeteer engines.
real_browser
Launch genuine installed Chrome-family browsers and attach over CDP.

Structs§

BrowserCookie
A browser cookie in the shape accepted by Playwright/Puppeteer contexts.
BrowserCookieReadOptions
Options for read_browser_cookies.
BrowserProfile
Metadata for a cookie-bearing installed browser profile.
BrowserProfileOptions
Options for list_browser_profiles.

Constants§

SUPPORTED_COOKIE_BROWSERS
Browsers whose on-disk cookie stores can be imported.

Functions§

clear_browser_cookie_memory_cache
Clear only the current process’s derived-key cache.
list_browser_profiles
Discover cookie-bearing profiles for Chrome, Edge, Brave, Chromium, and Firefox.
read_browser_cookies
Read cookies from an installed Chrome, Edge, Brave, Chromium, or Firefox profile.