pub trait BrowserProcessHandle: Send {
// Required methods
fn wait_for_devtools_ws_url(
&mut self,
timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<String, String>> + Send + '_>>;
fn shutdown(&mut self) -> Pin<Box<dyn Future<Output = ()> + Send + '_>>;
}Expand description
Owned handle to a running headless browser child process.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".