package
0.0.0-20240920093258-0eb8b47e7929
Repository: https://github.com/ecwid/control.git
Documentation: pkg.go.dev
# Functions
Seeds compilation cache for given url.
Evaluates given script in every frame upon creation (before loading frame's scripts).
Brings page to front (activates tab).
Capture page screenshot.
Returns a snapshot of the page as a string.
Clears seeded compilation cache.
Tries to close page, running its beforeunload hooks, if any.
Crashes renderer on the IO thread, generates minidumps.
Creates an isolated world for the given frame.
Disables page domain notifications.
Enables page domain notifications.
Generates a report for testing.
*/.
Returns the unique (PWA) app id.
*/.
Returns present frame tree structure.
*/.
Returns metrics relating to the layouting of the page, such as viewport bounds/scale.
*/.
Returns navigation history for the current page.
Get Origin Trials on given frame.
Get Permissions Policy state on given frame.
Returns content of the given resource.
Returns present frame / resource tree structure.
Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
Navigates current page to the given URL.
Navigates current page to the given history entry.
Print page as PDF.
Requests backend to produce compilation cache for the specified scripts.
Reloads given page optionally ignoring the cache.
Removes given script from the list.
Resets navigation history for the current page.
Acknowledges that a screencast frame has been received by the frontend.
Searches for given string in resource content.
Enable Chrome's experimental ad filter on all sites.
Enable page Content Security Policy by-passing.
Sets given markup as the document's HTML.
Set generic font families.
Set default font sizes.
Intercept file chooser requests and transfer control to protocol clients.
Controls whether page will emit lifecycle events.
Sets the Secure Payment Confirmation transaction mode.
Tries to update the web lifecycle state of the page.
Starts sending each frame using the `screencastFrame` event.
Force the page stop all navigations and pending resource fetches.
Stops sending each frame in the `screencastFrame`.
Pauses page execution.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
Indicates whether a frame has been identified as an ad and why.
Identifies the bottom-most script which caused the frame to be labelled
as an ad.
Error while paring app manifest.
Parsed app manifest properties.
*/.
*/.
Fired for failed bfcache history navigations if BackForwardCache feature is enabled.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Per-script compilation cache parameters for `Page.produceCompilationCache`
*/.
Issued for every compilation cache generated.
No description provided by the author
No description provided by the author
Fired when opening document to write to.
*/.
Emitted only when `page.interceptFileChooser` is enabled.
Generic font families collection.
Default font sizes.
Information about the Frame on the page.
Fired when frame has been attached to its parent.
Fired when frame has been detached from its parent.
Fired once navigation of the frame has completed.
Fired when a renderer-initiated navigation is requested.
Information about the Resource on the page.
Information about the Frame hierarchy along with their cached resources.
Fired when frame has started loading.
Fired when frame has stopped loading.
Information about the Frame hierarchy.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The installability error
*/.
*/.
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) has been
closed.
Fired when a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload) is about to
open.
Layout viewport position and dimensions.
Fired for top level page lifecycle events such as navigation, load, paint, etc.
*/.
No description provided by the author
Fired when same-document navigation happens, e.g.
No description provided by the author
No description provided by the author
Navigation history entry.
*/.
*/.
*/.
*/.
*/.
Fired when a prerender attempt is completed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Compressed image data requested by the `startScreencast`.
No description provided by the author
Screencast frame metadata.
Fired when the page with currently enabled screencast was shown or hidden `.
Font families collection for a script.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Viewport for capturing screenshot.
Visual viewport position, dimensions, and scale.
Fired when a new window is going to be opened, via window.open(), link click, form submission,
etc.
# Interfaces
*/.
Fired when interstitial page was hidden
*/.
Fired when interstitial page was shown
*/.
# Type aliases
*/.
Indicates whether a frame has been identified as an ad.
List of not restored reasons for back-forward cache.
Types of not restored reasons for back-forward cache.
*/.
*/.
Indicates whether the frame is cross-origin isolated and why it is the case.
Javascript dialog type.
Unique frame identifier.
*/.
The type of a frameNavigated event.
Status for an Origin Trial.
Origin Trial(https://www.chromium.org/blink/origin-trials) support.
*/.
Reason for a permissions policy feature to be disabled.
All Permissions Policy features.
List of FinalStatus reasons for Prerender2.
The referring-policy used for the navigation.
Unique script identifier.
Indicates whether the frame is a secure context and why it is the case.
Transition type.