Skip to main content

Module browser

Module browser 

Source
Expand description

Firefox browser automation via rustenium (WebDriver BiDi).

Structs§

Element
DOM element handle.
EvaluationResult
Result of evaluating JavaScript in the page.
FoxBrowserConfig
FrameInfo
A browsing context (frame) with the metadata the agent needs to target it: the opaque id to pass back on a frame-scoped command, plus its url and name for disambiguation. Returned by Page::list_frames.
FrameTreeNode
One node of the live browsing-context tree as reported by WebDriver BiDi browsingContext.getTree.
Page
Wrapper around rustenium’s FirefoxBrowser.
ProxyConfig
A proxy to route a launched Firefox through. Emitted as network.proxy.* prefs into the profile user.js at launch, the right place, since Firefox has no --proxy-server flag.

Enums§

ProxyScheme
Upstream proxy transport for a launched Firefox.
ScrollDirection
Direction for realistic scroll simulation.

Functions§

launch_firefox
Launch Firefox with the given config and return a Page handle.
launch_firefox_self_managed
Launch Firefox where foxdriver owns the spawn and the readiness wait, then attaches over BiDi in rustenium Remote mode.
proxy_prefs
Build the Firefox network.proxy.* user_pref lines for proxy.

Type Aliases§

FrameId
Opaque handle to a browsing context (tab or iframe).