pub struct CreateBrowserContextParams {
pub dispose_on_detach: Option<bool>,
pub proxy_server: Option<String>,
pub proxy_bypass_list: Option<String>,
pub origins_with_universal_network_access: Option<Vec<String>>,
}Expand description
Creates a new empty BrowserContext. Similar to an incognito profile but you can have more than one. createBrowserContext
Fields§
§dispose_on_detach: Option<bool>If specified, disposes this context when debugging session disconnects.
proxy_server: Option<String>Proxy server, similar to the one passed to –proxy-server
proxy_bypass_list: Option<String>Proxy bypass list, similar to the one passed to –proxy-bypass-list
origins_with_universal_network_access: Option<Vec<String>>An optional list of origins to grant unlimited cross-origin access to. Parts of the URL other than those constituting origin are ignored.
Trait Implementations§
Source§impl Clone for CreateBrowserContextParams
impl Clone for CreateBrowserContextParams
Source§fn clone(&self) -> CreateBrowserContextParams
fn clone(&self) -> CreateBrowserContextParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateBrowserContextParams
impl Debug for CreateBrowserContextParams
Source§impl Default for CreateBrowserContextParams
impl Default for CreateBrowserContextParams
Source§fn default() -> CreateBrowserContextParams
fn default() -> CreateBrowserContextParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateBrowserContextParams
impl<'de> Deserialize<'de> for CreateBrowserContextParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for CreateBrowserContextParams
Auto Trait Implementations§
impl Freeze for CreateBrowserContextParams
impl RefUnwindSafe for CreateBrowserContextParams
impl Send for CreateBrowserContextParams
impl Sync for CreateBrowserContextParams
impl Unpin for CreateBrowserContextParams
impl UnsafeUnpin for CreateBrowserContextParams
impl UnwindSafe for CreateBrowserContextParams
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