pub enum Channel {
Chrome,
Chromium,
Brave,
Edge,
Auto,
}Expand description
Which Chromium-family browser channel to discover at launch.
Passed via BrowserBuilder::channel; consumed by
find_chrome_executable_for_channel to pick the per-OS candidate path
table. BrowserBuilder::executable still overrides channel discovery
entirely.
§Examples
use zendriver::Channel;
let builder = zendriver::Browser::builder().channel(Channel::Brave);Variants§
Chrome
Google Chrome (stable). Same discovery as Channel::Auto minus the
Chromium fallbacks.
Chromium
Open-source Chromium build.
Brave
Brave Browser.
Edge
Microsoft Edge.
Auto
First Chromium-family browser found — the historical default (Chrome, then Chromium). Use a specific channel to force Brave / Edge.
Trait Implementations§
impl Copy for Channel
impl Eq for Channel
impl StructuralPartialEq for Channel
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
impl UnwindSafe for Channel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.