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.
Parameters of Target.createBrowserContext.
Fields§
§dispose_on_detach: Option<bool>If specified, disposes this context when debugging session disconnects.
Experimental: may change without notice.
proxy_server: Option<String>Proxy server, similar to the one passed to –proxy-server
Experimental: may change without notice.
proxy_bypass_list: Option<String>Proxy bypass list, similar to the one passed to –proxy-bypass-list
Experimental: may change without notice.
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.
Experimental: may change without notice.
Trait Implementations§
Source§impl Clone for CreateBrowserContextParams
impl Clone for CreateBrowserContextParams
Source§impl Command for CreateBrowserContextParams
impl Command for CreateBrowserContextParams
Source§impl Debug for CreateBrowserContextParams
impl Debug for CreateBrowserContextParams
Source§impl Default for CreateBrowserContextParams
impl Default for CreateBrowserContextParams
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 Forget for CreateBrowserContextParams
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