_id stringlengths 2 7 | text stringlengths 6 2.61k | title stringclasses 1
value |
|---|---|---|
c179600 | // WithLandscape paper orientation. Defaults to false. | |
c179601 | // WithDisplayHeaderFooter display header and footer. Defaults to false. | |
c179602 | // WithPrintBackground print background graphics. Defaults to false. | |
c179603 | // WithScale scale of the webpage rendering. Defaults to 1. | |
c179604 | // WithPaperWidth paper width in inches. Defaults to 8.5 inches. | |
c179605 | // WithPaperHeight paper height in inches. Defaults to 11 inches. | |
c179606 | // WithIgnoreInvalidPageRanges whether to silently ignore invalid but
// successfully parsed page ranges, such as '3-2'. Defaults to false. | |
c179607 | // WithFooterTemplate HTML template for the print footer. Should use the same
// format as the headerTemplate. | |
c179608 | // WithPreferCSSPageSize whether or not to prefer page size as defined by
// css. Defaults to false, in which case the content will be scaled to fit the
// paper size. | |
c179609 | // WithScriptToEvaluateOnLoad if set, the script will be injected into all
// frames of the inspected page after reload. Argument will be ignored if
// reloading dataURL origin. | |
c179610 | // Do executes Page.reload against the provided context. | |
c179611 | // Do executes Page.removeScriptToEvaluateOnNewDocument against the provided context. | |
c179612 | // Do executes Page.screencastFrameAck against the provided context. | |
c179613 | // Do executes Page.setAdBlockingEnabled against the provided context. | |
c179614 | // Do executes Page.setBypassCSP against the provided context. | |
c179615 | // Do executes Page.setFontFamilies against the provided context. | |
c179616 | // Do executes Page.setFontSizes against the provided context. | |
c179617 | // Do executes Page.setDocumentContent against the provided context. | |
c179618 | // WithDownloadPath the default path to save downloaded files to. This is
// required if behavior is set to 'allow'. | |
c179619 | // Do executes Page.setDownloadBehavior against the provided context. | |
c179620 | // Do executes Page.setLifecycleEventsEnabled against the provided context. | |
c179621 | // WithFormat image compression format. | |
c179622 | // WithMaxWidth maximum screenshot width. | |
c179623 | // WithMaxHeight maximum screenshot height. | |
c179624 | // WithEveryNthFrame send every n-th frame. | |
c179625 | // Do executes Page.startScreencast against the provided context. | |
c179626 | // Do executes Page.stopLoading against the provided context. | |
c179627 | // Do executes Page.setWebLifecycleState against the provided context. | |
c179628 | // Do executes Page.stopScreencast against the provided context. | |
c179629 | // Do executes Page.setProduceCompilationCache against the provided context. | |
c179630 | // Do executes Page.addCompilationCache against the provided context. | |
c179631 | // Do executes Page.clearCompilationCache against the provided context. | |
c179632 | // WithGroup specifies the endpoint group to deliver the report to. | |
c179633 | // Do executes Page.waitForDebugger against the provided context. | |
c179634 | // Do executes Target.activateTarget against the provided context. | |
c179635 | // WithBindingName binding name, 'cdp' if not specified. | |
c179636 | // Do executes Target.exposeDevToolsProtocol against the provided context. | |
c179637 | // WithBrowserContextID the browser context to create the page in. | |
c179638 | // WithSessionID session to detach. | |
c179639 | // Do executes Target.detachFromTarget against the provided context. | |
c179640 | // Do executes Target.disposeBrowserContext against the provided context. | |
c179641 | // WithSessionID identifier of the session. | |
c179642 | // Do executes Target.sendMessageToTarget against the provided context. | |
c179643 | // Do executes Target.setAutoAttach against the provided context. | |
c179644 | // Do executes Target.setDiscoverTargets against the provided context. | |
c179645 | // Do executes Target.setRemoteLocations against the provided context. | |
c179646 | // WithPatterns if specified, only requests matching any of these patterns
// will produce fetchRequested event and will be paused until clients response.
// If not set, all requests will be affected. | |
c179647 | // WithHandleAuthRequests if true, authRequired events will be issued and
// requests will be paused expecting a call to continueWithAuth. | |
c179648 | // Do executes Fetch.failRequest against the provided context. | |
c179649 | // WithBody a response body. | |
c179650 | // WithResponsePhrase a textual representation of responseCode. If absent, a
// standard phrase mathcing responseCode is used. | |
c179651 | // Do executes Fetch.fulfillRequest against the provided context. | |
c179652 | // WithURL if set, the request url will be modified in a way that's not
// observable by page. | |
c179653 | // WithMethod if set, the request method is overridden. | |
c179654 | // WithPostData if set, overrides the post data in the request. | |
c179655 | // WithHeaders if set, overrides the request headrts. | |
c179656 | // Do executes Fetch.continueRequest against the provided context. | |
c179657 | // Do executes Fetch.continueWithAuth against the provided context. | |
c179658 | // Do executes Debugger.continueToLocation against the provided context. | |
c179659 | // WithIncludeCommandLineAPI specifies whether command line API should be
// available to the evaluated expression, defaults to false. | |
c179660 | // Do executes Debugger.pause against the provided context. | |
c179661 | // Do executes Debugger.pauseOnAsyncCall against the provided context. | |
c179662 | // Do executes Debugger.removeBreakpoint against the provided context. | |
c179663 | // Do executes Debugger.resume against the provided context. | |
c179664 | // Do executes Debugger.setAsyncCallStackDepth against the provided context. | |
c179665 | // Do executes Debugger.setBlackboxPatterns against the provided context. | |
c179666 | // Do executes Debugger.setBlackboxedRanges against the provided context. | |
c179667 | // WithURL URL of the resources to set breakpoint on. | |
c179668 | // WithURLRegex regex pattern for the URLs of the resources to set
// breakpoints on. Either url or urlRegex must be specified. | |
c179669 | // WithScriptHash script hash of the resources to set breakpoint on. | |
c179670 | // WithColumnNumber offset in the line to set breakpoint at. | |
c179671 | // WithCondition expression to use as a breakpoint condition. When specified,
// debugger will stop on the breakpoint if this expression evaluates to true. | |
c179672 | // Do executes Debugger.setBreakpointsActive against the provided context. | |
c179673 | // Do executes Debugger.setPauseOnExceptions against the provided context. | |
c179674 | // Do executes Debugger.setReturnValue against the provided context. | |
c179675 | // WithDryRun if true the change will not actually be applied. Dry run may be
// used to get result description without actually modifying the code. | |
c179676 | // Do executes Debugger.setSkipAllPauses against the provided context. | |
c179677 | // Do executes Debugger.setVariableValue against the provided context. | |
c179678 | // WithBreakOnAsyncCall debugger will issue additional Debugger.paused
// notification if any async task is scheduled before next pause. | |
c179679 | // Do executes Debugger.stepInto against the provided context. | |
c179680 | // Do executes Debugger.stepOut against the provided context. | |
c179681 | // Do executes Debugger.stepOver against the provided context. | |
c179682 | // Listen calls ListenF if it is not null. | |
c179683 | // ListenClose calls ListenCloseF if it is not null. | |
c179684 | // Connected calls ConnectedF if it is not null. | |
c179685 | // Disconnected calls DisconnectedF if it is not null. | |
c179686 | // OpenedStream calls OpenedStreamF if it is not null. | |
c179687 | // ClosedStream calls ClosedStreamF if it is not null. | |
c179688 | // WithNoDial constructs a new context with an option that instructs the network
// to not attempt a new dial when opening a stream. | |
c179689 | // GetNoDial returns true if the no dial option is set in the context. | |
c179690 | // WithDialPeerTimeout returns a new context with the DialPeer timeout applied.
//
// This timeout overrides the default DialPeerTimeout and applies per-dial
// independently. | |
c179691 | // Open opens a connection | |
c179692 | // Prevpos returns the index of the element before
// from, or -1 if no more and from is the
// first in the ring. Returns -2 on bad
// from position. | |
c179693 | // Last returns the index of the last element,
// or -1 if the ring is empty. | |
c179694 | // DeleteMostRecentBytes trims back the last n bytes written. | |
c179695 | // constructor. NewFloat64RingBuf will allocate internally
// a slice of maxViewItems float64. | |
c179696 | // TwoContig returns all readable float64, but in two separate slices,
// to avoid copying. The two slices are from the same buffer, but
// are not contiguous. Either or both may be empty slices. | |
c179697 | // Earliest returns the earliest written value v. ok will be
// true unless the ring is empty, in which case ok will be false,
// and v will be zero. | |
c179698 | // Values returns all readable float64 in a single buffer. Calling this function
// might allocate a new buffer to store the elements contiguously. | |
c179699 | // constructor. NewAtomicFixedSizeRingBuf will allocate internally
// two buffers of size maxViewInBytes. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.