Skip to main content

Crate rightkit_browser

Crate rightkit_browser 

Source
Expand description

Shared Chrome DevTools Protocol browser runtime for Right Suite products.

  • BrowserSession owns one Chrome process and any number of pages.
  • ProfileSpec selects a temporary or named persistent profile.
  • Pointer and keyboard actions use real Input.dispatch*Event commands, so event.isTrusted, :hover, focus, and default actions behave as for a user.
  • AdmissionHook gates every effect and NetworkPolicy blocks private/loopback/file targets (redirects and subresources included) before they reach the network.
  • BrowserPage::observe returns refs that are checked for staleness before use.

Structs§

AdmissionRequest
One typed request to perform an effect. Typed text is never included, only its length, so admission logs stay content-free.
BlockedRequest
BrowserPage
BrowserSession
One Chrome process with any number of pages.
ConsoleLine
LaunchOptions
NetworkPolicy
NetworkRequest
One network request about to leave the browser.
Observation
ObservedNode
PinnedConnection
One connection the proxy made, with the address it pinned.
Rect

Enums§

ActionKind
AddressClass
Why an address class is blocked.
BrowserError
BrowserEvent
Lifecycle notifications for the caller’s journal. Content-free.
Decision
ProfileSpec
Where the browser keeps cookies, storage, and logins.
Target
What an action addresses.

Functions§

classify_ip
find_chrome
System Chrome, Chromium, then Edge. CHROME env overrides.

Type Aliases§

AdmissionHook
AllowCallback
EventSink
Resolver
Result