pub struct RealBrowserLaunchResult {
pub browser: Browser,
pub page: Arc<dyn EngineAdapter>,
pub cdp_endpoint: String,
pub executable_path: PathBuf,
pub user_data_dir: PathBuf,
pub browser_process: BrowserProcess,
pub downloads: Option<Arc<DownloadManager>>,
}Expand description
Browser/page handles plus metadata for the spawned installed browser.
Fields§
§browser: BrowserBrowser metadata matching LaunchResult.
page: Arc<dyn EngineAdapter>Shared engine adapter matching LaunchResult.
cdp_endpoint: StringResolved loopback DevTools endpoint.
executable_path: PathBufResolved installed-browser executable.
user_data_dir: PathBufDedicated profile used by the browser.
browser_process: BrowserProcessOwned process handle. Dropping the result terminates the browser.
downloads: Option<Arc<DownloadManager>>The download manager, when the caller asked for managed downloads.
A visible installed browser is where a person clicks a link themselves, so this is the manager that sees those downloads too.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RealBrowserLaunchResult
impl !UnwindSafe for RealBrowserLaunchResult
impl Freeze for RealBrowserLaunchResult
impl Send for RealBrowserLaunchResult
impl Sync for RealBrowserLaunchResult
impl Unpin for RealBrowserLaunchResult
impl UnsafeUnpin for RealBrowserLaunchResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more