Struct chromiumoxide::browser::Browser  [−][src]
pub struct Browser { /* fields omitted */ }Expand description
A Browser is created when chromiumoxide connects to a Chromium instance.
Implementations
Connect to an already running chromium instance via websocket
Launches a new instance of chromium in the background and attaches to
its debug web socket.
This fails when no chromium executable could be detected.
This fails if no web socket url could be detected from the child processes stderr for more than 20 seconds.
If not launched as incognito this creates a new incognito browser context. After that this browser exists within the incognito session. New pages created while being in incognito mode will also run in the incognito context. Incognito contexts won’t share cookies/cache with other browser contexts.
If a incognito session was created with
Browser::start_incognito_context this disposes this context.
Note This will also dispose all pages that were running within the
incognito context.
Returns the address of the websocket this browser is attached to
Whether the BrowserContext is incognito.
The config of the spawned chromium instance if any.
Create a new browser page
Version information about the browser
Returns the user agent of the browser
Call a browser method.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Browserimpl !UnwindSafe for Browser