pub struct VisibleLaunch {
pub url: String,
pub profile_dir: PathBuf,
pub executable: Option<PathBuf>,
pub args: Vec<String>,
}Expand description
What to open in the visible browser.
Fields§
§url: StringAbsolute http or https URL to open first.
profile_dir: PathBufExisting absolute directory the browser keeps its profile in. The caller owns it and must not point it at a real browser’s own user-data directory (refused).
executable: Option<PathBuf>Browser executable. None uses Chrome for Testing (chrome_for_testing_path).
args: Vec<String>Extra Chrome flags. Flags the session manages (profile, debugging endpoint) are refused.
Trait Implementations§
Source§impl Clone for VisibleLaunch
impl Clone for VisibleLaunch
Auto Trait Implementations§
impl Forget for VisibleLaunch
impl Freeze for VisibleLaunch
impl Move for VisibleLaunch
impl RefUnwindSafe for VisibleLaunch
impl Send for VisibleLaunchwhere
RawVecInner: Send,
impl Sync for VisibleLaunchwhere
RawVecInner: Sync,
impl Unpin for VisibleLaunch
impl UnsafeUnpin for VisibleLaunchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for VisibleLaunchwhere
RawVecInner: UnwindSafe,
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