package chromedp
Import Path
github.com/chromedp/chromedp (on go.dev)
Dependency Relation
imports 44 packages, and imported by one package
Involved Source Files
allocate.go
allocate_linux.go
browser.go
call.go
Package chromedp is a high level Chrome DevTools Protocol client that
simplifies driving browsers for scraping, unit testing, or profiling web
pages using the CDP.
chromedp requires no third-party dependencies, implementing the async Chrome
DevTools Protocol entirely in Go.
This package includes a number of simple examples. Additionally,
[chromedp/examples] contains more complex examples.
conn.go
emulate.go
errors.go
eval.go
input.go
js.go
nav.go
poll.go
query.go
screenshot.go
target.go
util.go
Code Examples
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/dom"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`
<body>
<div id="content">cool content</div>
</body>
`))
defer ts.Close()
var ids []cdp.NodeID
var html string
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.NodeIDs(`document`, &ids, chromedp.ByJSPath),
chromedp.ActionFunc(func(ctx context.Context) error {
var err error
html, err = dom.GetOuterHTML().WithNodeID(ids[0]).Do(ctx)
return err
}),
); err != nil {
log.Fatal(err)
}
fmt.Println("Outer HTML:")
fmt.Println(html)
}
package main
import (
"context"
"log"
"os"
"github.com/chromedp/chromedp"
"github.com/chromedp/chromedp/device"
)
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
var buf []byte
if err := chromedp.Run(ctx,
chromedp.Emulate(device.IPhone7),
chromedp.Navigate(`https://duckduckgo.com/`),
chromedp.SendKeys(`input[name=q]`, "what's my user agent?\n"),
chromedp.WaitVisible(`#zci-answer`, chromedp.ByID),
chromedp.CaptureScreenshot(&buf),
); err != nil {
log.Fatal(err)
}
if err := os.WriteFile("iphone7-ua.png", buf, 0o644); err != nil {
log.Fatal(err)
}
}
package main
import (
"context"
"fmt"
"log"
"github.com/chromedp/cdproto/runtime"
"github.com/chromedp/chromedp"
)
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
// Ignore the result:
{
if err := chromedp.Run(ctx,
chromedp.Evaluate(`window.scrollTo(0, 100)`, nil),
); err != nil {
log.Fatal(err)
}
}
// Receive a primary value:
{
var sum int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`1+2`, &sum),
); err != nil {
log.Fatal(err)
}
fmt.Println(sum)
}
// ErrJSUndefined:
{
var val int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`undefined`, &val),
); err != nil {
fmt.Println(err)
}
}
// ErrJSNull:
{
var val int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`null`, &val),
); err != nil {
fmt.Println(err)
}
}
// Accept undefined/null result:
{
var val *int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`undefined`, &val),
); err != nil {
log.Fatal(err)
}
fmt.Println(val)
}
// Receive an array value:
{
var val []int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`[1,2]`, &val),
); err != nil {
log.Fatal(err)
}
fmt.Println(val)
}
// Map and Slice accept undefined/null:
{
var val []int
if err := chromedp.Run(ctx,
chromedp.Evaluate(`null`, &val),
); err != nil {
log.Fatal(err)
}
fmt.Println("slice is nil:", val == nil)
}
// Receive the raw bytes:
{
var buf []byte
if err := chromedp.Run(ctx,
chromedp.Evaluate(`alert`, &buf),
); err != nil {
log.Fatal(err)
}
fmt.Printf("%s\n", buf)
}
// Receive the RemoteObject:
{
var res *runtime.RemoteObject
if err := chromedp.Run(ctx,
chromedp.Evaluate(`alert`, &res),
); err != nil {
log.Fatal(err)
}
if res.ObjectID != "" {
fmt.Println("objectId is present")
}
}
}
package main
import (
"bytes"
"context"
"fmt"
"log"
"os"
"path/filepath"
"github.com/chromedp/chromedp"
)
func main() {
dir, err := os.MkdirTemp("", "chromedp-example")
if err != nil {
log.Fatal(err)
}
defer os.RemoveAll(dir)
opts := append(chromedp.DefaultExecAllocatorOptions[:],
chromedp.DisableGPU,
chromedp.UserDataDir(dir),
)
allocCtx, cancel := chromedp.NewExecAllocator(context.Background(), opts...)
defer cancel()
// also set up a custom logger
taskCtx, cancel := chromedp.NewContext(allocCtx, chromedp.WithLogf(log.Printf))
defer cancel()
// ensure that the browser process is started
if err := chromedp.Run(taskCtx); err != nil {
log.Fatal(err)
}
path := filepath.Join(dir, "DevToolsActivePort")
bs, err := os.ReadFile(path)
if err != nil {
log.Fatal(err)
}
lines := bytes.Split(bs, []byte("\n"))
fmt.Printf("DevToolsActivePort has %d lines\n", len(lines))
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`
<body>
<p class="content">outer content</p>
<div id="section"><p class="content">inner content</p></div>
</body>
`))
defer ts.Close()
var nodes []*cdp.Node
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Nodes("#section", &nodes, chromedp.ByQuery),
); err != nil {
log.Fatal(err)
}
sectionNode := nodes[0]
var queryRoot, queryFromNode, queryNestedSelector string
if err := chromedp.Run(ctx,
// Queries run from the document root by default, so Text will
// pick the first node it finds.
chromedp.Text(".content", &queryRoot, chromedp.ByQuery),
// We can specify a different node to run the query from; in
// this case, we can tailor the search within #section.
chromedp.Text(".content", &queryFromNode, chromedp.ByQuery, chromedp.FromNode(sectionNode)),
// A CSS selector like "#section > .content" achieves the same
// here, but FromNode allows us to use a node obtained by an
// entirely separate step, allowing for custom logic.
chromedp.Text("#section > .content", &queryNestedSelector, chromedp.ByQuery),
); err != nil {
log.Fatal(err)
}
fmt.Println("Simple query from the document root:", queryRoot)
fmt.Println("Simple query from the section node:", queryFromNode)
fmt.Println("Nested query from the document root:", queryNestedSelector)
}
package main
import (
"context"
"fmt"
"log"
"os"
"github.com/chromedp/chromedp"
)
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
var buf []byte
if err := chromedp.Run(ctx,
chromedp.Navigate(`https://google.com`),
chromedp.FullScreenshot(&buf, 90),
); err != nil {
log.Fatal(err)
}
if err := os.WriteFile("fullScreenshot.jpeg", buf, 0644); err != nil {
log.Fatal(err)
}
fmt.Println("wrote fullScreenshot.jpeg")
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/page"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
mux := http.NewServeMux()
mux.Handle("/second", writeHTML(``))
ts := httptest.NewServer(writeHTML(`
<input id='alert' type='button' value='alert' onclick='alert("alert text");'/>
`))
defer ts.Close()
chromedp.ListenTarget(ctx, func(ev interface{}) {
if ev, ok := ev.(*page.EventJavascriptDialogOpening); ok {
fmt.Println("closing alert:", ev.Message)
go func() {
if err := chromedp.Run(ctx,
page.HandleJavaScriptDialog(true),
); err != nil {
log.Fatal(err)
}
}()
}
})
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Click("#alert", chromedp.ByID),
); err != nil {
log.Fatal(err)
}
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/runtime"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`
<body>
<script>
console.log("hello js world")
console.warn("scary warning", 123)
null.throwsException
</script>
</body>
`))
defer ts.Close()
gotException := make(chan bool, 1)
chromedp.ListenTarget(ctx, func(ev interface{}) {
switch ev := ev.(type) {
case *runtime.EventConsoleAPICalled:
fmt.Printf("* console.%s call:\n", ev.Type)
for _, arg := range ev.Args {
fmt.Printf("%s - %s\n", arg.Type, arg.Value)
}
case *runtime.EventExceptionThrown:
// Since ts.URL uses a random port, replace it.
s := ev.ExceptionDetails.Error()
s = strings.ReplaceAll(s, ts.URL, "<server>")
// V8 has changed the error messages for property access on null/undefined in version 9.3.310.
// see: https://chromium.googlesource.com/v8/v8/+/c0fd89c3c089e888c4f4e8582e56db7066fa779b
// https://github.com/chromium/chromium/commit/1735cbf94c98c70ff7554a1e9e01bb9a4f91beb6
// The message is normalized to make it compatible with the versions before this change.
s = strings.ReplaceAll(s, "Cannot read property 'throwsException' of null", "Cannot read properties of null (reading 'throwsException')")
fmt.Printf("* %s\n", s)
gotException <- true
}
})
if err := chromedp.Run(ctx, chromedp.Navigate(ts.URL)); err != nil {
log.Fatal(err)
}
<-gotException
}
package main
import (
"context"
"fmt"
"log"
"github.com/chromedp/chromedp"
)
func main() {
// new browser, first tab
ctx1, cancel := chromedp.NewContext(context.Background())
defer cancel()
// ensure the first tab is created
if err := chromedp.Run(ctx1); err != nil {
log.Fatal(err)
}
// same browser, second tab
ctx2, _ := chromedp.NewContext(ctx1)
// ensure the second tab is created
if err := chromedp.Run(ctx2); err != nil {
log.Fatal(err)
}
c1 := chromedp.FromContext(ctx1)
c2 := chromedp.FromContext(ctx2)
fmt.Printf("Same browser: %t\n", c1.Browser == c2.Browser)
fmt.Printf("Same tab: %t\n", c1.Target == c2.Target)
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"time"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ts := httptest.NewServer(writeHTML(`
<body>
<script>
// Show the current cookies.
var p = document.createElement("p")
p.innerText = document.cookie
p.setAttribute("id", "cookies")
document.body.appendChild(p)
// Override the cookies.
document.cookie = "foo=bar"
</script>
</body>
`))
defer ts.Close()
// create a new browser
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
// start the browser without a timeout
if err := chromedp.Run(ctx); err != nil {
log.Fatal(err)
}
for i := 0; i < 2; i++ {
func() {
ctx, cancel := context.WithTimeout(ctx, time.Second)
defer cancel()
ctx, cancel = chromedp.NewContext(ctx)
defer cancel()
var cookies string
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Text("#cookies", &cookies),
); err != nil {
log.Fatal(err)
}
fmt.Printf("Cookies at i=%d: %q\n", i, cookies)
}()
}
}
package main
import (
"context"
"log"
"os"
"github.com/chromedp/cdproto/page"
"github.com/chromedp/chromedp"
)
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
var buf []byte
if err := chromedp.Run(ctx,
chromedp.Navigate(`https://pkg.go.dev/github.com/chromedp/chromedp`),
chromedp.ActionFunc(func(ctx context.Context) error {
var err error
buf, _, err = page.PrintToPDF().
WithDisplayHeaderFooter(false).
WithLandscape(true).
Do(ctx)
return err
}),
); err != nil {
log.Fatal(err)
}
if err := os.WriteFile("page.pdf", buf, 0o644); err != nil {
log.Fatal(err)
}
}
package main
import (
"context"
"fmt"
"log"
"net/http"
"net/http/httptest"
"github.com/chromedp/chromedp"
)
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
// This server simply shows the URL path as the page title, and contains
// a link that points to /foo.
ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
fmt.Fprintf(w, `
<head><title>%s</title></head>
<body><a id="foo" href="/foo">foo</a></body>
`, r.URL.Path)
}))
defer ts.Close()
// The Navigate action already waits until a page loads, so Title runs
// once the page is ready.
var firstTitle string
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Title(&firstTitle),
); err != nil {
log.Fatal(err)
}
fmt.Println("first title:", firstTitle)
// However, actions like Click don't always trigger a page navigation,
// so they don't wait for a page load directly. Wrapping them with
// RunResponse does that waiting, and also obtains the HTTP response.
resp, err := chromedp.RunResponse(ctx, chromedp.Click("#foo", chromedp.ByID))
if err != nil {
log.Fatal(err)
}
fmt.Println("second status code:", resp.Status)
// Grabbing the title again should work, as the page has finished
// loading once more.
var secondTitle string
if err := chromedp.Run(ctx, chromedp.Title(&secondTitle)); err != nil {
log.Fatal(err)
}
fmt.Println("second title:", secondTitle)
// Finally, it's always possible to wrap Navigate with RunResponse, if
// one wants the response information for that case too.
resp, err = chromedp.RunResponse(ctx, chromedp.Navigate(ts.URL+"/bar"))
if err != nil {
log.Fatal(err)
}
fmt.Println("third status code:", resp.Status)
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`
<head>
<title>fancy website title</title>
</head>
<body>
<div id="content"></div>
</body>
`))
defer ts.Close()
var title string
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Title(&title),
); err != nil {
log.Fatal(err)
}
fmt.Println(title)
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/target"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
mux := http.NewServeMux()
mux.Handle("/first", writeHTML(`
<input id='newtab' type='button' value='open' onclick='window.open("/second", "_blank");'/>
`))
mux.Handle("/second", writeHTML(``))
ts := httptest.NewServer(mux)
defer ts.Close()
// Grab the first spawned tab that isn't blank.
ch := chromedp.WaitNewTarget(ctx, func(info *target.Info) bool {
return info.URL != ""
})
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL+"/first"),
chromedp.Click("#newtab", chromedp.ByID),
); err != nil {
log.Fatal(err)
}
newCtx, cancel := chromedp.NewContext(ctx, chromedp.WithTargetID(<-ch))
defer cancel()
var urlstr string
if err := chromedp.Run(newCtx, chromedp.Location(&urlstr)); err != nil {
log.Fatal(err)
}
fmt.Println("new tab's path:", strings.TrimPrefix(urlstr, ts.URL))
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/cdproto/cdp"
"github.com/chromedp/cdproto/runtime"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`<!doctype html>
<html>
<body>
<div id="content">the content</div>
</body>
</html>`))
defer ts.Close()
const expr = `(function(d, id, v) {
var b = d.querySelector('body');
var el = d.createElement('div');
el.id = id;
el.innerText = v;
b.insertBefore(el, b.childNodes[0]);
})(document, %q, %q);`
var nodes []*cdp.Node
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.Nodes(`document`, &nodes, chromedp.ByJSPath),
chromedp.WaitVisible(`#content`),
chromedp.ActionFunc(func(ctx context.Context) error {
s := fmt.Sprintf(expr, "thing", "a new thing!")
_, exp, err := runtime.Evaluate(s).Do(ctx)
if err != nil {
return err
}
if exp != nil {
return exp
}
return nil
}),
chromedp.WaitVisible(`#thing`),
); err != nil {
log.Fatal(err)
}
fmt.Println("Document tree:")
fmt.Print(nodes[0].Dump(" ", " ", false))
}
package main
import (
"context"
"fmt"
"io"
"log"
"net/http"
"net/http/httptest"
"strings"
"github.com/chromedp/chromedp"
)
func writeHTML(content string) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/html")
io.WriteString(w, strings.TrimSpace(content))
})
}
func main() {
ctx, cancel := chromedp.NewContext(context.Background())
defer cancel()
ts := httptest.NewServer(writeHTML(`
<body>
<p id="content" onclick="changeText()">Original content.</p>
<script>
function changeText() {
document.getElementById("content").textContent = "New content!"
}
</script>
</body>
`))
defer ts.Close()
var outerBefore, outerAfter string
if err := chromedp.Run(ctx,
chromedp.Navigate(ts.URL),
chromedp.OuterHTML("#content", &outerBefore, chromedp.ByQuery),
chromedp.Click("#content", chromedp.ByQuery),
chromedp.OuterHTML("#content", &outerAfter, chromedp.ByQuery),
); err != nil {
log.Fatal(err)
}
fmt.Println("OuterHTML before clicking:")
fmt.Println(outerBefore)
fmt.Println("OuterHTML after clicking:")
fmt.Println(outerAfter)
}
Package-Level Type Names (total 35)
Action is the common interface for an action that will be executed against a
context and frame handler.
Do executes the action using the provided context and frame handler.
ActionFunc
CallAction (interface)
EmulateAction (interface)
EvaluateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
Action : CallAction
Action : EmulateAction
Action : EvaluateAction
Action : KeyAction
Action : MouseAction
Action : NavigateAction
Action : PollAction
Action : QueryAction
func CaptureScreenshot(res *[]byte) Action
func Location(urlstr *string) Action
func NavigationEntries(currentIndex *int64, entries *[]*page.NavigationEntry) Action
func Sleep(d time.Duration) Action
func Stop() Action
func Title(title *string) Action
func Run(ctx context.Context, actions ...Action) error
func RunResponse(ctx context.Context, actions ...Action) (*network.Response, error)
ActionFunc is an adapter to allow the use of ordinary func's as an Action.
Do executes the func f using the provided context and frame handler.
ActionFunc : Action
ActionFunc : CallAction
ActionFunc : EmulateAction
ActionFunc : EvaluateAction
ActionFunc : KeyAction
ActionFunc : MouseAction
ActionFunc : NavigateAction
ActionFunc : PollAction
ActionFunc : QueryAction
An Allocator is responsible for creating and managing a number of browsers.
This interface abstracts away how the browser process is actually run. For
example, an Allocator implementation may reuse browser processes, or connect
to already-running browsers on remote machines.
Allocate creates a new browser. It can be cancelled via the provided
context, at which point all the resources used by the browser (such
as temporary directories) will be freed.
Wait blocks until an allocator has freed all of its resources.
Cancelling the allocator context will already perform this operation,
so normally there's no need to call Wait directly.
*ExecAllocator
*RemoteAllocator
Browser is the high-level Chrome DevTools Protocol browser manager, handling
the browser process runner, WebSocket clients, associated targets, and
network, page, and DOM events.
LostConnection is closed when the websocket connection to Chrome is
dropped. This can be useful to make sure that Browser's context is
cancelled (and the handler stopped) once the connection has failed.
(*Browser) Execute(ctx context.Context, method string, params easyjson.Marshaler, res easyjson.Unmarshaler) error
Process returns the process object of the browser.
It could be nil when the browser is allocated with RemoteAllocator.
It could be useful for a monitoring system to collect process metrics of the browser process.
(See [prometheus.NewProcessCollector] for an example).
Example:
if process := chromedp.FromContext(ctx).Browser.Process(); process != nil {
fmt.Printf("Browser PID: %v", process.Pid)
}
*Browser : github.com/chromedp/cdproto/cdp.Executor
func NewBrowser(ctx context.Context, urlstr string, opts ...BrowserOption) (*Browser, error)
func Allocator.Allocate(context.Context, ...BrowserOption) (*Browser, error)
func (*ExecAllocator).Allocate(ctx context.Context, opts ...BrowserOption) (*Browser, error)
func (*RemoteAllocator).Allocate(ctx context.Context, opts ...BrowserOption) (*Browser, error)
BrowserOption is a browser option.
CallAction are actions that calls a JavaScript function using
runtime.CallFunctionOn.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
EmulateAction (interface)
EvaluateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
CallAction : Action
CallAction : EmulateAction
CallAction : EvaluateAction
CallAction : KeyAction
CallAction : MouseAction
CallAction : NavigateAction
CallAction : PollAction
CallAction : QueryAction
func CallFunctionOn(functionDeclaration string, res interface{}, opt CallOption, args ...interface{}) CallAction
CallOption is a function to modify the runtime.CallFunctionOnParams
to provide more information.
Conn implements Transport with a gobwas/ws websocket connection.
Close satisfies the io.Closer interface.
Read reads the next message.
Write writes a message.
*Conn : Transport
*Conn : github.com/prometheus/common/expfmt.Closer
*Conn : io.Closer
func DialContext(ctx context.Context, urlstr string, opts ...DialOption) (*Conn, error)
Context is attached to any context.Context which is valid for use with Run.
Allocator is used to create new browsers. It is inherited from the
parent context when using NewContext.
Browser is the browser being used in the context. It is inherited
from the parent context when using NewContext.
BrowserContextID is set up by WithExistingBrowserContext.
Otherwise, BrowserContextID holds a non-empty value in the following cases:
1. if the context is created with the WithNewBrowserContext option, a new
BrowserContext is created on its first run, and BrowserContextID holds
the id of that new BrowserContext;
2. if the context is not created with the WithTargetID option, and its
parent context has a non-empty BrowserContextID, this context's
BrowserContextID is copied from the parent context.
Target is the target to run actions (commands) against. It is not
inherited from the parent context, and typically each context will
have its own unique Target pointing to a separate browser tab (page).
func FromContext(ctx context.Context) *Context
ContextOption is a context option.
CreateBrowserContextOption is a BrowserContext creation options.
Device is the shared interface for known device types.
See [device] for a set of off-the-shelf devices and modes.
Device returns the device info.
github.com/chromedp/chromedp/device.Info
func Emulate(device Device) EmulateAction
DialOption is a dial option.
EmulateAction are actions that change the emulation settings for the
browser.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EvaluateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
EmulateAction : Action
EmulateAction : CallAction
EmulateAction : EvaluateAction
EmulateAction : KeyAction
EmulateAction : MouseAction
EmulateAction : NavigateAction
EmulateAction : PollAction
EmulateAction : QueryAction
func Emulate(device Device) EmulateAction
func EmulateReset() EmulateAction
func EmulateViewport(width, height int64, opts ...EmulateViewportOption) EmulateAction
func FullScreenshot(res *[]byte, quality int) EmulateAction
func ResetViewport() EmulateAction
EmulateViewportOption is the type for emulate viewport options.
Error is a chromedp error.
Error satisfies the error interface.
Error : error
const ErrChannelClosed
const ErrDisabled
const ErrHasResults
const ErrInvalidBoxModel
const ErrInvalidContext
const ErrInvalidDimensions
const ErrInvalidTarget
const ErrInvalidWebsocketMessage
const ErrJSNull
const ErrJSUndefined
const ErrNoResults
const ErrNotSelected
const ErrNotVisible
const ErrPollingTimeout
const ErrVisible
EvaluateAction are actions that evaluate JavaScript expressions using
runtime.Evaluate.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EmulateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
EvaluateAction : Action
EvaluateAction : CallAction
EvaluateAction : EmulateAction
EvaluateAction : KeyAction
EvaluateAction : MouseAction
EvaluateAction : NavigateAction
EvaluateAction : PollAction
EvaluateAction : QueryAction
func Evaluate(expression string, res interface{}, opts ...EvaluateOption) EvaluateAction
func EvaluateAsDevTools(expression string, res interface{}, opts ...EvaluateOption) EvaluateAction
EvaluateOption is the type for JavaScript evaluation options.
ExecAllocator is an Allocator which starts new browser processes on the host
machine.
Allocate satisfies the Allocator interface.
Wait satisfies the Allocator interface.
*ExecAllocator : Allocator
func DisableGPU(a *ExecAllocator)
func Headless(a *ExecAllocator)
func IgnoreCertErrors(a *ExecAllocator)
func NoDefaultBrowserCheck(a *ExecAllocator)
func NoFirstRun(a *ExecAllocator)
func NoSandbox(a *ExecAllocator)
ExecAllocatorOption is an exec allocator option.
KeyAction are keyboard (key) input event actions.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EmulateAction (interface)
EvaluateAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
KeyAction : Action
KeyAction : CallAction
KeyAction : EmulateAction
KeyAction : EvaluateAction
KeyAction : MouseAction
KeyAction : NavigateAction
KeyAction : PollAction
KeyAction : QueryAction
func KeyEvent(keys string, opts ...KeyOption) KeyAction
func KeyEventNode(n *cdp.Node, keys string, opts ...KeyOption) KeyAction
KeyOption is a key action option.
MouseAction are mouse input event actions
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EmulateAction (interface)
EvaluateAction (interface)
KeyAction (interface)
NavigateAction (interface)
PollAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
MouseAction : Action
MouseAction : CallAction
MouseAction : EmulateAction
MouseAction : EvaluateAction
MouseAction : KeyAction
MouseAction : NavigateAction
MouseAction : PollAction
MouseAction : QueryAction
func MouseClickNode(n *cdp.Node, opts ...MouseOption) MouseAction
func MouseClickXY(x, y float64, opts ...MouseOption) MouseAction
func MouseEvent(typ input.MouseType, x, y float64, opts ...MouseOption) MouseAction
MouseOption is a mouse action option.
PollAction are actions that will wait for a general JavaScript predicate.
See [Poll] for details on building poll tasks.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EmulateAction (interface)
EvaluateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
QueryAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
PollAction : Action
PollAction : CallAction
PollAction : EmulateAction
PollAction : EvaluateAction
PollAction : KeyAction
PollAction : MouseAction
PollAction : NavigateAction
PollAction : QueryAction
func Poll(expression string, res interface{}, opts ...PollOption) PollAction
func PollFunction(pageFunction string, res interface{}, opts ...PollOption) PollAction
PollOption is a poll task option.
QueryAction are element query actions that select node elements from the
browser's DOM for retrieval or manipulation.
See [Query] for details on building element query selectors.
Do executes the action using the provided context and frame handler.
Action (interface)
ActionFunc
CallAction (interface)
EmulateAction (interface)
EvaluateAction (interface)
KeyAction (interface)
MouseAction (interface)
NavigateAction (interface)
PollAction (interface)
*Selector
Tasks
*github.com/chromedp/cdproto/accessibility.DisableParams
*github.com/chromedp/cdproto/accessibility.EnableParams
*github.com/chromedp/cdproto/animation.DisableParams
*github.com/chromedp/cdproto/animation.EnableParams
*github.com/chromedp/cdproto/animation.ReleaseAnimationsParams
*github.com/chromedp/cdproto/animation.SeekAnimationsParams
*github.com/chromedp/cdproto/animation.SetPausedParams
*github.com/chromedp/cdproto/animation.SetPlaybackRateParams
*github.com/chromedp/cdproto/animation.SetTimingParams
*github.com/chromedp/cdproto/audits.CheckContrastParams
*github.com/chromedp/cdproto/audits.DisableParams
*github.com/chromedp/cdproto/audits.EnableParams
*github.com/chromedp/cdproto/autofill.DisableParams
*github.com/chromedp/cdproto/autofill.EnableParams
*github.com/chromedp/cdproto/autofill.SetAddressesParams
*github.com/chromedp/cdproto/autofill.TriggerParams
*github.com/chromedp/cdproto/backgroundservice.ClearEventsParams
*github.com/chromedp/cdproto/backgroundservice.SetRecordingParams
*github.com/chromedp/cdproto/backgroundservice.StartObservingParams
*github.com/chromedp/cdproto/backgroundservice.StopObservingParams
*github.com/chromedp/cdproto/browser.AddPrivacySandboxEnrollmentOverrideParams
*github.com/chromedp/cdproto/browser.CancelDownloadParams
*github.com/chromedp/cdproto/browser.CloseParams
*github.com/chromedp/cdproto/browser.CrashGpuProcessParams
*github.com/chromedp/cdproto/browser.CrashParams
*github.com/chromedp/cdproto/browser.ExecuteBrowserCommandParams
*github.com/chromedp/cdproto/browser.GrantPermissionsParams
*github.com/chromedp/cdproto/browser.ResetPermissionsParams
*github.com/chromedp/cdproto/browser.SetDockTileParams
*github.com/chromedp/cdproto/browser.SetDownloadBehaviorParams
*github.com/chromedp/cdproto/browser.SetPermissionParams
*github.com/chromedp/cdproto/browser.SetWindowBoundsParams
*github.com/chromedp/cdproto/cachestorage.DeleteCacheParams
*github.com/chromedp/cdproto/cachestorage.DeleteEntryParams
*github.com/chromedp/cdproto/cast.DisableParams
*github.com/chromedp/cdproto/cast.EnableParams
*github.com/chromedp/cdproto/cast.SetSinkToUseParams
*github.com/chromedp/cdproto/cast.StartDesktopMirroringParams
*github.com/chromedp/cdproto/cast.StartTabMirroringParams
*github.com/chromedp/cdproto/cast.StopCastingParams
*github.com/chromedp/cdproto/css.DisableParams
*github.com/chromedp/cdproto/css.EnableParams
*github.com/chromedp/cdproto/css.ForcePseudoStateParams
*github.com/chromedp/cdproto/css.SetEffectivePropertyValueForNodeParams
*github.com/chromedp/cdproto/css.SetLocalFontsEnabledParams
*github.com/chromedp/cdproto/css.StartRuleUsageTrackingParams
*github.com/chromedp/cdproto/css.TrackComputedStyleUpdatesParams
*github.com/chromedp/cdproto/database.DisableParams
*github.com/chromedp/cdproto/database.EnableParams
*github.com/chromedp/cdproto/debugger.ContinueToLocationParams
*github.com/chromedp/cdproto/debugger.DisableParams
*github.com/chromedp/cdproto/debugger.PauseParams
*github.com/chromedp/cdproto/debugger.RemoveBreakpointParams
*github.com/chromedp/cdproto/debugger.RestartFrameParams
*github.com/chromedp/cdproto/debugger.ResumeParams
*github.com/chromedp/cdproto/debugger.SetAsyncCallStackDepthParams
*github.com/chromedp/cdproto/debugger.SetBlackboxedRangesParams
*github.com/chromedp/cdproto/debugger.SetBlackboxPatternsParams
*github.com/chromedp/cdproto/debugger.SetBreakpointsActiveParams
*github.com/chromedp/cdproto/debugger.SetPauseOnExceptionsParams
*github.com/chromedp/cdproto/debugger.SetReturnValueParams
*github.com/chromedp/cdproto/debugger.SetSkipAllPausesParams
*github.com/chromedp/cdproto/debugger.SetVariableValueParams
*github.com/chromedp/cdproto/debugger.StepIntoParams
*github.com/chromedp/cdproto/debugger.StepOutParams
*github.com/chromedp/cdproto/debugger.StepOverParams
*github.com/chromedp/cdproto/deviceaccess.CancelPromptParams
*github.com/chromedp/cdproto/deviceaccess.DisableParams
*github.com/chromedp/cdproto/deviceaccess.EnableParams
*github.com/chromedp/cdproto/deviceaccess.SelectPromptParams
*github.com/chromedp/cdproto/deviceorientation.ClearDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/deviceorientation.SetDeviceOrientationOverrideParams
*github.com/chromedp/cdproto/dom.DisableParams
*github.com/chromedp/cdproto/dom.DiscardSearchResultsParams
*github.com/chromedp/cdproto/dom.EnableParams
*github.com/chromedp/cdproto/dom.FocusParams
*github.com/chromedp/cdproto/dom.MarkUndoableStateParams
*github.com/chromedp/cdproto/dom.RedoParams
*github.com/chromedp/cdproto/dom.RemoveAttributeParams
*github.com/chromedp/cdproto/dom.RemoveNodeParams
*github.com/chromedp/cdproto/dom.RequestChildNodesParams
*github.com/chromedp/cdproto/dom.ScrollIntoViewIfNeededParams
*github.com/chromedp/cdproto/dom.SetAttributesAsTextParams
*github.com/chromedp/cdproto/dom.SetAttributeValueParams
*github.com/chromedp/cdproto/dom.SetFileInputFilesParams
*github.com/chromedp/cdproto/dom.SetInspectedNodeParams
*github.com/chromedp/cdproto/dom.SetNodeStackTracesEnabledParams
*github.com/chromedp/cdproto/dom.SetNodeValueParams
*github.com/chromedp/cdproto/dom.SetOuterHTMLParams
*github.com/chromedp/cdproto/dom.UndoParams
*github.com/chromedp/cdproto/domdebugger.RemoveDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.RemoveXHRBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetBreakOnCSPViolationParams
*github.com/chromedp/cdproto/domdebugger.SetDOMBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetEventListenerBreakpointParams
*github.com/chromedp/cdproto/domdebugger.SetXHRBreakpointParams
*github.com/chromedp/cdproto/domsnapshot.DisableParams
*github.com/chromedp/cdproto/domsnapshot.EnableParams
*github.com/chromedp/cdproto/domstorage.ClearParams
*github.com/chromedp/cdproto/domstorage.DisableParams
*github.com/chromedp/cdproto/domstorage.EnableParams
*github.com/chromedp/cdproto/domstorage.RemoveDOMStorageItemParams
*github.com/chromedp/cdproto/domstorage.SetDOMStorageItemParams
*github.com/chromedp/cdproto/emulation.ClearDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.ClearGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.ClearIdleOverrideParams
*github.com/chromedp/cdproto/emulation.ResetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetAutoDarkModeOverrideParams
*github.com/chromedp/cdproto/emulation.SetAutomationOverrideParams
*github.com/chromedp/cdproto/emulation.SetCPUThrottlingRateParams
*github.com/chromedp/cdproto/emulation.SetDefaultBackgroundColorOverrideParams
*github.com/chromedp/cdproto/emulation.SetDeviceMetricsOverrideParams
*github.com/chromedp/cdproto/emulation.SetDisabledImageTypesParams
*github.com/chromedp/cdproto/emulation.SetDocumentCookieDisabledParams
*github.com/chromedp/cdproto/emulation.SetEmitTouchEventsForMouseParams
*github.com/chromedp/cdproto/emulation.SetEmulatedMediaParams
*github.com/chromedp/cdproto/emulation.SetEmulatedVisionDeficiencyParams
*github.com/chromedp/cdproto/emulation.SetFocusEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetGeolocationOverrideParams
*github.com/chromedp/cdproto/emulation.SetHardwareConcurrencyOverrideParams
*github.com/chromedp/cdproto/emulation.SetIdleOverrideParams
*github.com/chromedp/cdproto/emulation.SetLocaleOverrideParams
*github.com/chromedp/cdproto/emulation.SetPageScaleFactorParams
*github.com/chromedp/cdproto/emulation.SetScriptExecutionDisabledParams
*github.com/chromedp/cdproto/emulation.SetScrollbarsHiddenParams
*github.com/chromedp/cdproto/emulation.SetTimezoneOverrideParams
*github.com/chromedp/cdproto/emulation.SetTouchEmulationEnabledParams
*github.com/chromedp/cdproto/emulation.SetUserAgentOverrideParams
*github.com/chromedp/cdproto/eventbreakpoints.DisableParams
*github.com/chromedp/cdproto/eventbreakpoints.RemoveInstrumentationBreakpointParams
*github.com/chromedp/cdproto/eventbreakpoints.SetInstrumentationBreakpointParams
*github.com/chromedp/cdproto/fedcm.ConfirmIdpLoginParams
*github.com/chromedp/cdproto/fedcm.DisableParams
*github.com/chromedp/cdproto/fedcm.DismissDialogParams
*github.com/chromedp/cdproto/fedcm.EnableParams
*github.com/chromedp/cdproto/fedcm.ResetCooldownParams
*github.com/chromedp/cdproto/fedcm.SelectAccountParams
*github.com/chromedp/cdproto/fetch.ContinueRequestParams
*github.com/chromedp/cdproto/fetch.ContinueResponseParams
*github.com/chromedp/cdproto/fetch.ContinueWithAuthParams
*github.com/chromedp/cdproto/fetch.DisableParams
*github.com/chromedp/cdproto/fetch.EnableParams
*github.com/chromedp/cdproto/fetch.FailRequestParams
*github.com/chromedp/cdproto/fetch.FulfillRequestParams
*github.com/chromedp/cdproto/heapprofiler.AddInspectedHeapObjectParams
*github.com/chromedp/cdproto/heapprofiler.CollectGarbageParams
*github.com/chromedp/cdproto/heapprofiler.DisableParams
*github.com/chromedp/cdproto/heapprofiler.EnableParams
*github.com/chromedp/cdproto/heapprofiler.StartSamplingParams
*github.com/chromedp/cdproto/heapprofiler.StartTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.StopTrackingHeapObjectsParams
*github.com/chromedp/cdproto/heapprofiler.TakeHeapSnapshotParams
*github.com/chromedp/cdproto/indexeddb.ClearObjectStoreParams
*github.com/chromedp/cdproto/indexeddb.DeleteDatabaseParams
*github.com/chromedp/cdproto/indexeddb.DeleteObjectStoreEntriesParams
*github.com/chromedp/cdproto/indexeddb.DisableParams
*github.com/chromedp/cdproto/indexeddb.EnableParams
*github.com/chromedp/cdproto/input.CancelDraggingParams
*github.com/chromedp/cdproto/input.DispatchDragEventParams
*github.com/chromedp/cdproto/input.DispatchKeyEventParams
*github.com/chromedp/cdproto/input.DispatchMouseEventParams
*github.com/chromedp/cdproto/input.DispatchTouchEventParams
*github.com/chromedp/cdproto/input.EmulateTouchFromMouseEventParams
*github.com/chromedp/cdproto/input.ImeSetCompositionParams
*github.com/chromedp/cdproto/input.InsertTextParams
*github.com/chromedp/cdproto/input.SetIgnoreInputEventsParams
*github.com/chromedp/cdproto/input.SetInterceptDragsParams
*github.com/chromedp/cdproto/input.SynthesizePinchGestureParams
*github.com/chromedp/cdproto/input.SynthesizeScrollGestureParams
*github.com/chromedp/cdproto/input.SynthesizeTapGestureParams
*github.com/chromedp/cdproto/inspector.DisableParams
*github.com/chromedp/cdproto/inspector.EnableParams
*github.com/chromedp/cdproto/io.CloseParams
*github.com/chromedp/cdproto/layertree.DisableParams
*github.com/chromedp/cdproto/layertree.EnableParams
*github.com/chromedp/cdproto/layertree.ReleaseSnapshotParams
*github.com/chromedp/cdproto/log.ClearParams
*github.com/chromedp/cdproto/log.DisableParams
*github.com/chromedp/cdproto/log.EnableParams
*github.com/chromedp/cdproto/log.StartViolationsReportParams
*github.com/chromedp/cdproto/log.StopViolationsReportParams
*github.com/chromedp/cdproto/media.DisableParams
*github.com/chromedp/cdproto/media.EnableParams
*github.com/chromedp/cdproto/memory.ForciblyPurgeJavaScriptMemoryParams
*github.com/chromedp/cdproto/memory.PrepareForLeakDetectionParams
*github.com/chromedp/cdproto/memory.SetPressureNotificationsSuppressedParams
*github.com/chromedp/cdproto/memory.SimulatePressureNotificationParams
*github.com/chromedp/cdproto/memory.StartSamplingParams
*github.com/chromedp/cdproto/memory.StopSamplingParams
*github.com/chromedp/cdproto/network.ClearAcceptedEncodingsOverrideParams
*github.com/chromedp/cdproto/network.ClearBrowserCacheParams
*github.com/chromedp/cdproto/network.ClearBrowserCookiesParams
*github.com/chromedp/cdproto/network.DeleteCookiesParams
*github.com/chromedp/cdproto/network.DisableParams
*github.com/chromedp/cdproto/network.EmulateNetworkConditionsParams
*github.com/chromedp/cdproto/network.EnableParams
*github.com/chromedp/cdproto/network.EnableReportingAPIParams
*github.com/chromedp/cdproto/network.ReplayXHRParams
*github.com/chromedp/cdproto/network.SetAcceptedEncodingsParams
*github.com/chromedp/cdproto/network.SetAttachDebugStackParams
*github.com/chromedp/cdproto/network.SetBlockedURLSParams
*github.com/chromedp/cdproto/network.SetBypassServiceWorkerParams
*github.com/chromedp/cdproto/network.SetCacheDisabledParams
*github.com/chromedp/cdproto/network.SetCookieParams
*github.com/chromedp/cdproto/network.SetCookiesParams
*github.com/chromedp/cdproto/network.SetExtraHTTPHeadersParams
*github.com/chromedp/cdproto/overlay.DisableParams
*github.com/chromedp/cdproto/overlay.EnableParams
*github.com/chromedp/cdproto/overlay.HideHighlightParams
*github.com/chromedp/cdproto/overlay.HighlightNodeParams
*github.com/chromedp/cdproto/overlay.HighlightQuadParams
*github.com/chromedp/cdproto/overlay.HighlightRectParams
*github.com/chromedp/cdproto/overlay.HighlightSourceOrderParams
*github.com/chromedp/cdproto/overlay.SetInspectModeParams
*github.com/chromedp/cdproto/overlay.SetPausedInDebuggerMessageParams
*github.com/chromedp/cdproto/overlay.SetShowAdHighlightsParams
*github.com/chromedp/cdproto/overlay.SetShowContainerQueryOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowDebugBordersParams
*github.com/chromedp/cdproto/overlay.SetShowFlexOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowFPSCounterParams
*github.com/chromedp/cdproto/overlay.SetShowGridOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowHingeParams
*github.com/chromedp/cdproto/overlay.SetShowIsolatedElementsParams
*github.com/chromedp/cdproto/overlay.SetShowLayoutShiftRegionsParams
*github.com/chromedp/cdproto/overlay.SetShowPaintRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollBottleneckRectsParams
*github.com/chromedp/cdproto/overlay.SetShowScrollSnapOverlaysParams
*github.com/chromedp/cdproto/overlay.SetShowViewportSizeOnResizeParams
*github.com/chromedp/cdproto/overlay.SetShowWebVitalsParams
*github.com/chromedp/cdproto/page.AddCompilationCacheParams
*github.com/chromedp/cdproto/page.BringToFrontParams
*github.com/chromedp/cdproto/page.ClearCompilationCacheParams
*github.com/chromedp/cdproto/page.CloseParams
*github.com/chromedp/cdproto/page.CrashParams
*github.com/chromedp/cdproto/page.DisableParams
*github.com/chromedp/cdproto/page.EnableParams
*github.com/chromedp/cdproto/page.GenerateTestReportParams
*github.com/chromedp/cdproto/page.HandleJavaScriptDialogParams
*github.com/chromedp/cdproto/page.NavigateToHistoryEntryParams
*github.com/chromedp/cdproto/page.ProduceCompilationCacheParams
*github.com/chromedp/cdproto/page.ReloadParams
*github.com/chromedp/cdproto/page.RemoveScriptToEvaluateOnNewDocumentParams
*github.com/chromedp/cdproto/page.ResetNavigationHistoryParams
*github.com/chromedp/cdproto/page.ScreencastFrameAckParams
*github.com/chromedp/cdproto/page.SetAdBlockingEnabledParams
*github.com/chromedp/cdproto/page.SetBypassCSPParams
*github.com/chromedp/cdproto/page.SetDocumentContentParams
*github.com/chromedp/cdproto/page.SetFontFamiliesParams
*github.com/chromedp/cdproto/page.SetFontSizesParams
*github.com/chromedp/cdproto/page.SetInterceptFileChooserDialogParams
*github.com/chromedp/cdproto/page.SetLifecycleEventsEnabledParams
*github.com/chromedp/cdproto/page.SetPrerenderingAllowedParams
*github.com/chromedp/cdproto/page.SetRPHRegistrationModeParams
*github.com/chromedp/cdproto/page.SetSPCTransactionModeParams
*github.com/chromedp/cdproto/page.SetWebLifecycleStateParams
*github.com/chromedp/cdproto/page.StartScreencastParams
*github.com/chromedp/cdproto/page.StopLoadingParams
*github.com/chromedp/cdproto/page.StopScreencastParams
*github.com/chromedp/cdproto/page.WaitForDebuggerParams
*github.com/chromedp/cdproto/performance.DisableParams
*github.com/chromedp/cdproto/performance.EnableParams
*github.com/chromedp/cdproto/performancetimeline.EnableParams
*github.com/chromedp/cdproto/preload.DisableParams
*github.com/chromedp/cdproto/preload.EnableParams
*github.com/chromedp/cdproto/profiler.DisableParams
*github.com/chromedp/cdproto/profiler.EnableParams
*github.com/chromedp/cdproto/profiler.SetSamplingIntervalParams
*github.com/chromedp/cdproto/profiler.StartParams
*github.com/chromedp/cdproto/profiler.StopPreciseCoverageParams
*github.com/chromedp/cdproto/runtime.AddBindingParams
*github.com/chromedp/cdproto/runtime.DisableParams
*github.com/chromedp/cdproto/runtime.DiscardConsoleEntriesParams
*github.com/chromedp/cdproto/runtime.EnableParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectGroupParams
*github.com/chromedp/cdproto/runtime.ReleaseObjectParams
*github.com/chromedp/cdproto/runtime.RemoveBindingParams
*github.com/chromedp/cdproto/runtime.RunIfWaitingForDebuggerParams
*github.com/chromedp/cdproto/runtime.SetCustomObjectFormatterEnabledParams
*github.com/chromedp/cdproto/runtime.SetMaxCallStackSizeToCaptureParams
*github.com/chromedp/cdproto/runtime.TerminateExecutionParams
*github.com/chromedp/cdproto/security.DisableParams
*github.com/chromedp/cdproto/security.EnableParams
*github.com/chromedp/cdproto/security.SetIgnoreCertificateErrorsParams
*github.com/chromedp/cdproto/serviceworker.DeliverPushMessageParams
*github.com/chromedp/cdproto/serviceworker.DisableParams
*github.com/chromedp/cdproto/serviceworker.DispatchPeriodicSyncEventParams
*github.com/chromedp/cdproto/serviceworker.DispatchSyncEventParams
*github.com/chromedp/cdproto/serviceworker.EnableParams
*github.com/chromedp/cdproto/serviceworker.InspectWorkerParams
*github.com/chromedp/cdproto/serviceworker.SetForceUpdateOnPageLoadParams
*github.com/chromedp/cdproto/serviceworker.SkipWaitingParams
*github.com/chromedp/cdproto/serviceworker.StartWorkerParams
*github.com/chromedp/cdproto/serviceworker.StopAllWorkersParams
*github.com/chromedp/cdproto/serviceworker.StopWorkerParams
*github.com/chromedp/cdproto/serviceworker.UnregisterParams
*github.com/chromedp/cdproto/serviceworker.UpdateRegistrationParams
*github.com/chromedp/cdproto/storage.ClearCookiesParams
*github.com/chromedp/cdproto/storage.ClearDataForOriginParams
*github.com/chromedp/cdproto/storage.ClearDataForStorageKeyParams
*github.com/chromedp/cdproto/storage.ClearSharedStorageEntriesParams
*github.com/chromedp/cdproto/storage.DeleteSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.DeleteStorageBucketParams
*github.com/chromedp/cdproto/storage.OverrideQuotaForOriginParams
*github.com/chromedp/cdproto/storage.ResetSharedStorageBudgetParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingLocalTestingModeParams
*github.com/chromedp/cdproto/storage.SetAttributionReportingTrackingParams
*github.com/chromedp/cdproto/storage.SetCookiesParams
*github.com/chromedp/cdproto/storage.SetInterestGroupTrackingParams
*github.com/chromedp/cdproto/storage.SetSharedStorageEntryParams
*github.com/chromedp/cdproto/storage.SetSharedStorageTrackingParams
*github.com/chromedp/cdproto/storage.SetStorageBucketTrackingParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.TrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.TrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForOriginParams
*github.com/chromedp/cdproto/storage.UntrackCacheStorageForStorageKeyParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForOriginParams
*github.com/chromedp/cdproto/storage.UntrackIndexedDBForStorageKeyParams
*github.com/chromedp/cdproto/target.ActivateTargetParams
*github.com/chromedp/cdproto/target.AutoAttachRelatedParams
*github.com/chromedp/cdproto/target.CloseTargetParams
*github.com/chromedp/cdproto/target.DetachFromTargetParams
*github.com/chromedp/cdproto/target.DisposeBrowserContextParams
*github.com/chromedp/cdproto/target.ExposeDevToolsProtocolParams
*github.com/chromedp/cdproto/target.SetAutoAttachParams
*github.com/chromedp/cdproto/target.SetDiscoverTargetsParams
*github.com/chromedp/cdproto/target.SetRemoteLocationsParams
*github.com/chromedp/cdproto/tethering.BindParams
*github.com/chromedp/cdproto/tethering.UnbindParams
*github.com/chromedp/cdproto/tracing.EndParams
*github.com/chromedp/cdproto/tracing.RecordClockSyncMarkerParams
*github.com/chromedp/cdproto/tracing.StartParams
*github.com/chromedp/cdproto/webaudio.DisableParams
*github.com/chromedp/cdproto/webaudio.EnableParams
*github.com/chromedp/cdproto/webauthn.AddCredentialParams
*github.com/chromedp/cdproto/webauthn.ClearCredentialsParams
*github.com/chromedp/cdproto/webauthn.DisableParams
*github.com/chromedp/cdproto/webauthn.EnableParams
*github.com/chromedp/cdproto/webauthn.RemoveCredentialParams
*github.com/chromedp/cdproto/webauthn.RemoveVirtualAuthenticatorParams
*github.com/chromedp/cdproto/webauthn.SetAutomaticPresenceSimulationParams
*github.com/chromedp/cdproto/webauthn.SetResponseOverrideBitsParams
*github.com/chromedp/cdproto/webauthn.SetUserVerifiedParams
QueryAction : Action
QueryAction : CallAction
QueryAction : EmulateAction
QueryAction : EvaluateAction
QueryAction : KeyAction
QueryAction : MouseAction
QueryAction : NavigateAction
QueryAction : PollAction
func Attributes(sel interface{}, attributes *map[string]string, opts ...QueryOption) QueryAction
func AttributesAll(sel interface{}, attributes *[]map[string]string, opts ...QueryOption) QueryAction
func AttributeValue(sel interface{}, name string, value *string, ok *bool, opts ...QueryOption) QueryAction
func Blur(sel interface{}, opts ...QueryOption) QueryAction
func Clear(sel interface{}, opts ...QueryOption) QueryAction
func Click(sel interface{}, opts ...QueryOption) QueryAction
func ComputedStyle(sel interface{}, style *[]*css.ComputedStyleProperty, opts ...QueryOption) QueryAction
func Dimensions(sel interface{}, model **dom.BoxModel, opts ...QueryOption) QueryAction
func DoubleClick(sel interface{}, opts ...QueryOption) QueryAction
func Focus(sel interface{}, opts ...QueryOption) QueryAction
func InnerHTML(sel interface{}, html *string, opts ...QueryOption) QueryAction
func JavascriptAttribute(sel interface{}, name string, res interface{}, opts ...QueryOption) QueryAction
func MatchedStyle(sel interface{}, style **css.GetMatchedStylesForNodeReturns, opts ...QueryOption) QueryAction
func NodeIDs(sel interface{}, ids *[]cdp.NodeID, opts ...QueryOption) QueryAction
func Nodes(sel interface{}, nodes *[]*cdp.Node, opts ...QueryOption) QueryAction
func OuterHTML(sel interface{}, html *string, opts ...QueryOption) QueryAction
func Query(sel interface{}, opts ...QueryOption) QueryAction
func QueryAfter(sel interface{}, f func(context.Context, runtime.ExecutionContextID, ...*cdp.Node) error, opts ...QueryOption) QueryAction
func RemoveAttribute(sel interface{}, name string, opts ...QueryOption) QueryAction
func Reset(sel interface{}, opts ...QueryOption) QueryAction
func Screenshot(sel interface{}, picbuf *[]byte, opts ...QueryOption) QueryAction
func ScreenshotScale(sel interface{}, scale float64, picbuf *[]byte, opts ...QueryOption) QueryAction
func ScrollIntoView(sel interface{}, opts ...QueryOption) QueryAction
func SendKeys(sel interface{}, v string, opts ...QueryOption) QueryAction
func SetAttributes(sel interface{}, attributes map[string]string, opts ...QueryOption) QueryAction
func SetAttributeValue(sel interface{}, name, value string, opts ...QueryOption) QueryAction
func SetJavascriptAttribute(sel interface{}, name, value string, opts ...QueryOption) QueryAction
func SetUploadFiles(sel interface{}, files []string, opts ...QueryOption) QueryAction
func SetValue(sel interface{}, value string, opts ...QueryOption) QueryAction
func Submit(sel interface{}, opts ...QueryOption) QueryAction
func Text(sel interface{}, text *string, opts ...QueryOption) QueryAction
func TextContent(sel interface{}, text *string, opts ...QueryOption) QueryAction
func Value(sel interface{}, value *string, opts ...QueryOption) QueryAction
func WaitEnabled(sel interface{}, opts ...QueryOption) QueryAction
func WaitNotPresent(sel interface{}, opts ...QueryOption) QueryAction
func WaitNotVisible(sel interface{}, opts ...QueryOption) QueryAction
func WaitReady(sel interface{}, opts ...QueryOption) QueryAction
func WaitSelected(sel interface{}, opts ...QueryOption) QueryAction
func WaitVisible(sel interface{}, opts ...QueryOption) QueryAction
QueryOption is an element query action option.
RemoteAllocator is an Allocator which connects to an already running Chrome
process via a websocket URL.
Allocate satisfies the Allocator interface.
Wait satisfies the Allocator interface.
*RemoteAllocator : Allocator
func NoModifyURL(a *RemoteAllocator)
RemoteAllocatorOption is a remote allocator option.
Selector holds information pertaining to an element selection query.
See [Query] for information on building an element selector and relevant
options.
Do executes the selector, only finishing if the selector's by, wait, and
after funcs succeed, or if the context is cancelled.
*Selector : Action
*Selector : CallAction
*Selector : EmulateAction
*Selector : EvaluateAction
*Selector : KeyAction
*Selector : MouseAction
*Selector : NavigateAction
*Selector : PollAction
*Selector : QueryAction
func ByID(s *Selector)
func ByJSPath(s *Selector)
func ByNodeID(s *Selector)
func ByQuery(s *Selector)
func ByQueryAll(s *Selector)
func BySearch(s *Selector)
func NodeEnabled(s *Selector)
func NodeNotPresent(s *Selector)
func NodeNotVisible(s *Selector)
func NodeReady(s *Selector)
func NodeSelected(s *Selector)
func NodeVisible(s *Selector)
Target manages a Chrome DevTools Protocol target.
SessionID target.SessionID
TargetID target.ID
(*Target) Execute(ctx context.Context, method string, params easyjson.Marshaler, res easyjson.Unmarshaler) error
*Target : github.com/chromedp/cdproto/cdp.Executor
Tasks is a sequential list of Actions that can be used as a single Action.
Do executes the list of Actions sequentially, using the provided context and
frame handler.
Tasks : Action
Tasks : CallAction
Tasks : EmulateAction
Tasks : EvaluateAction
Tasks : KeyAction
Tasks : MouseAction
Tasks : NavigateAction
Tasks : PollAction
Tasks : QueryAction
Transport is the common interface to send/receive messages to a target.
This interface is currently used internally by Browser, but it is exposed as
it will be useful as part of the public API in the future.
( Transport) Close() error
( Transport) Read(context.Context, *cdproto.Message) error
( Transport) Write(context.Context, *cdproto.Message) error
*Conn
Transport : github.com/prometheus/common/expfmt.Closer
Transport : io.Closer
Package-Level Functions (total 150)
After is an element query option that sets a func to execute after the
matched nodes have been returned by the browser, and after the node
condition is true.
AtLeast is an element query option to set a minimum number of elements that
must be returned by the query.
By default, a query will have a value of 1.
Attributes is an element query action that retrieves the element attributes for the
first element node matching the selector.
AttributesAll is an element query action that retrieves the element attributes for
all element nodes matching the selector.
Note: this should be used with the ByQueryAll query option.
AttributeValue is an element query action that retrieves the element attribute value
for the first element node matching the selector.
Blur is an element query action that unfocuses (blurs) the first element node
matching the selector.
Button is a mouse action option to set the button to click from a string.
ButtonLeft is a mouse action option to set the button clicked as the left
mouse button.
ButtonMiddle is a mouse action option to set the button clicked as the middle
mouse button.
ButtonModifiers is a mouse action option to add additional input modifiers
for a button click.
ButtonNone is a mouse action option to set the button clicked as none (used
for mouse movements).
ButtonRight is a mouse action option to set the button clicked as the right
mouse button.
ButtonType is a mouse action option to set the button to click.
ByFunc is an element query action option to set the func used to select elements.
ByID is an element query option to select a single element by its CSS #id.
Similar to calling document.querySelector('#' + ID) in the browser.
ByJSPath is an element query option to select elements by the "JS Path"
value (as shown in the Chrome DevTools UI).
Allows for the direct querying of DOM elements that otherwise cannot be
retrieved using the other By* funcs, such as ShadowDOM elements.
Note: Do not use with an untrusted selector value, as any defined selector
will be passed to runtime.Evaluate.
ByNodeID is an element query option to select elements by their node IDs.
Uses DOM.requestChildNodes to retrieve elements with specific node IDs.
Note: must be used with []cdp.NodeID.
ByQuery is an element query action option to select a single element by the
DOM.querySelector command.
Similar to calling document.querySelector() in the browser.
ByQueryAll is an element query action option to select elements by the
DOM.querySelectorAll command.
Similar to calling document.querySelectorAll() in the browser.
BySearch is an element query option to select elements by the DOM.performSearch
command. It matches nodes by plain text, CSS selector or XPath query.
CallFunctionOn is an action to call a JavaScript function, unmarshaling
the result of the function to res.
The handling of res is the same as that of Evaluate.
Do not call the following methods on runtime.CallFunctionOnParams:
- WithReturnByValue: it will be set depending on the type of res;
- WithArguments: pass the arguments with args instead.
Note: any exception encountered will be returned as an error.
Cancel cancels a chromedp context, waits for its resources to be cleaned up,
and returns any error encountered during that process.
If the context allocated a browser, the browser will be closed gracefully by
Cancel. A timeout can be attached to this context to determine how long to
wait for the browser to close itself:
tctx, tcancel := context.WithTimeout(ctx, 10 * time.Second)
defer tcancel()
chromedp.Cancel(tctx)
Usually a "defer cancel()" will be enough for most use cases. However, Cancel
is the better option if one wants to gracefully close a browser, or catch
underlying errors happening during cancellation.
CaptureScreenshot is an action that captures/takes a screenshot of the
current browser viewport.
It's supposed to act the same as the command "Capture screenshot" in
Chrome. See the behavior notes of Screenshot for more information.
See the [Screenshot] action to take a screenshot of a specific element.
See [screenshot] for an example of taking a screenshot of the entire page.
Clear is an element query action that clears the values of any input/textarea element
nodes matching the selector.
Click is an element query action that sends a mouse click event to the first element
node matching the selector.
ClickCount is a mouse action option to set the click count.
CombinedOutput is used to set an io.Writer where stdout and stderr
from the browser will be sent
ComputedStyle is an element query action that retrieves the computed style of the
first element node matching the selector.
DialContext dials the specified websocket URL using gobwas/ws.
Dimensions is an element query action that retrieves the box model dimensions for the
first element node matching the selector.
DisableGPU is the command line option to disable the GPU process.
The --disable-gpu option is a temporary workaround for a few bugs
in headless mode. According to the references below, it's no longer required:
- https://bugs.chromium.org/p/chromium/issues/detail?id=737678
- https://github.com/puppeteer/puppeteer/pull/2908
- https://github.com/puppeteer/puppeteer/pull/4523
But according to this reported issue, it's still required in some cases:
- https://github.com/chromedp/chromedp/issues/904
DoubleClick is an element query action that sends a mouse double click event to the
first element node matching the selector.
Emulate is an action to emulate a specific device.
See [device] for a set of off-the-shelf devices and modes.
EmulateLandscape is an emulate viewport option to set the device viewport
screen orientation in landscape primary mode and an angle of 90.
EmulateMobile is an emulate viewport option to toggle the device viewport to
display as a mobile device.
EmulateOrientation is an emulate viewport option to set the device viewport
screen orientation.
EmulatePortrait is an emulate viewport option to set the device viewport
screen orientation in portrait primary mode and an angle of 0.
EmulateReset is an action to reset the device emulation.
Resets the browser's viewport, screen orientation, user-agent, and
mobile/touch emulation settings to the original values the browser was
started with.
EmulateScale is an emulate viewport option to set the device viewport scaling
factor.
EmulateTouch is an emulate viewport option to enable touch emulation.
EmulateViewport is an action to change the browser viewport.
Wraps calls to emulation.SetDeviceMetricsOverride and emulation.SetTouchEmulationEnabled.
Note: this has the effect of setting/forcing the screen orientation to
landscape, and will disable mobile and touch emulation by default. If this
is not the desired behavior, use the emulate viewport options
EmulateOrientation (or EmulateLandscape/EmulatePortrait), EmulateMobile, and
EmulateTouch, respectively.
Env is a list of generic environment variables in the form NAME=value
to pass into the new Chrome process. These will be appended to the
environment of the Go process as retrieved by os.Environ.
EvalAsValue is an evaluate option that will cause the evaluated JavaScript
expression to encode the result of the expression as a JSON-encoded value.
EvalIgnoreExceptions is an evaluate option that will cause JavaScript
evaluation to ignore exceptions.
EvalObjectGroup is an evaluate option to set the object group.
Evaluate is an action to evaluate the JavaScript expression, unmarshaling
the result of the script evaluation to res.
When res is nil, the script result will be ignored.
When res is a *[]byte, the raw JSON-encoded value of the script
result will be placed in res.
When res is a **runtime.RemoteObject, res will be set to the low-level
protocol type, and no attempt will be made to convert the result.
The original objects could be maintained in memory until the page is
navigated or closed. `runtime.ReleaseObject` or `runtime.ReleaseObjectGroup`
can be used to ask the browser to release the original objects.
For all other cases, the result of the script will be returned "by value" (i.e.,
JSON-encoded), and subsequently an attempt will be made to json.Unmarshal
the script result to res. When the script result is "undefined" or "null",
and the value that res points to can not be nil (only the value of a chan,
func, interface, map, pointer, or slice can be nil), it returns [ErrJSUndefined]
or [ErrJSNull] respectively.
EvaluateAsDevTools is an action that evaluates a JavaScript expression as
Chrome DevTools would, evaluating the expression in the "console" context,
and making the Command Line API available to the script.
See [Evaluate] for more information on how script expressions are evaluated.
Note: this should not be used with untrusted JavaScript.
EvalWithCommandLineAPI is an evaluate option to make the DevTools Command
Line API available to the evaluated script.
See [Evaluate] for more information on how evaluate actions work.
Note: this should not be used with untrusted JavaScript.
ExecPath returns an ExecAllocatorOption which uses the given path to execute
browser processes. The given path can be an absolute path to a binary, or
just the name of the program to find via exec.LookPath.
Flag is a generic command line option to pass a flag to Chrome. If the value
is a string, it will be passed as --name=value. If it's a boolean, it will be
passed as --name if value is true.
Focus is an element query action that focuses the first element node matching the
selector.
FromContext extracts the Context data stored inside a context.Context.
FromNode is an element query action option where a query will be run. That
is, the query will only look at the node's element sub-tree. By default, or
when passed nil, the document's root element will be used.
Note that, at present, BySearch and ByJSPath do not support FromNode; this
option is mainly useful for ByQuery selectors.
FullScreenshot takes a full screenshot with the specified image quality of
the entire browser viewport.
It's supposed to act the same as the command "Capture full size screenshot"
in Chrome. See the behavior notes of Screenshot for more information.
The valid range of the compression quality is [0..100]. When this value is
100, the image format is png; otherwise, the image format is jpeg.
Headless is the command line option to run in headless mode. On top of
setting the headless flag, it also hides scrollbars and mutes audio.
IgnoreCertErrors is the command line option to ignore certificate-related
errors. This option is useful when you need to access an HTTPS website
through a proxy.
InnerHTML is an element query action that retrieves the inner html of the first
element node matching the selector.
JavascriptAttribute is an element query action that retrieves the JavaScript
attribute for the first element node matching the selector.
KeyEvent is a key action that synthesizes a keyDown, char, and keyUp event
for each rune contained in keys along with any supplied key options.
Only well-known, "printable" characters will have char events synthesized.
See the [SendKeys] action to synthesize key events for a specific element
node.
See the [kb] package for implementation details and list of
well-known keys.
KeyEventNode is a key action that dispatches a key event on an element node.
KeyModifiers is a key action option to add additional modifiers on the key
press.
ListenBrowser adds a function which will be called whenever a browser event
is received on the chromedp context. Note that this only includes browser
events; command responses and target events are not included. Cancelling ctx
stops the listener from receiving any more events.
Note that the function is called synchronously when handling events. The
function should avoid blocking at all costs. For example, any Actions must be
run via a separate goroutine (otherwise, it could result in a deadlock if the
action sends CDP messages).
ListenTarget adds a function which will be called whenever a target event is
received on the chromedp context. Cancelling ctx stops the listener from
receiving any more events.
Note that the function is called synchronously when handling events. The
function should avoid blocking at all costs. For example, any Actions must be
run via a separate goroutine (otherwise, it could result in a deadlock if the
action sends CDP messages).
Location is an action that retrieves the document location.
MatchedStyle is an element query action that retrieves the matched style information
for the first element node matching the selector.
ModifyCmdFunc allows for running an arbitrary function on the
browser exec.Cmd object. This overrides the default version
of the command which sends SIGKILL to any open browsers when
the Go program exits.
MouseClickNode is an action that dispatches a mouse left button click event
at the center of a specified node.
Note that the window will be scrolled if the node is not within the window's
viewport.
MouseClickXY is an action that sends a left mouse button click (i.e.,
mousePressed and mouseReleased event) to the X, Y location.
MouseEvent is a mouse event action to dispatch the specified mouse event
type at coordinates x, y.
NewBrowser creates a new browser. Typically, this function wouldn't be called
directly, as the Allocator interface takes care of it.
NewContext creates a chromedp context from the parent context. The parent
context's Allocator is inherited, defaulting to an ExecAllocator with
DefaultExecAllocatorOptions.
If the parent context contains an allocated Browser, the child context
inherits it, and its first Run creates a new tab on that browser. Otherwise,
its first Run will allocate a new browser.
Cancelling the returned context will close a tab or an entire browser,
depending on the logic described above. To cancel a context while checking
for errors, see [Cancel].
Note that NewContext doesn't allocate nor start a browser; that happens the
first time Run is used on the context.
NewExecAllocator creates a new context set up with an ExecAllocator, suitable
for use with NewContext.
NewRemoteAllocator creates a new context set up with a RemoteAllocator,
suitable for use with NewContext. The url should point to the browser's
websocket address, such as "ws://127.0.0.1:$PORT/devtools/browser/...".
If the url does not contain "/devtools/browser/", it will try to detect
the correct one by sending a request to "http://$HOST:$PORT/json/version".
The url with the following formats are accepted:
- ws://127.0.0.1:9222/
- http://127.0.0.1:9222/
But "ws://127.0.0.1:9222/devtools/browser/" are not accepted.
Because the allocator won't try to modify it and it's obviously invalid.
Use chromedp.NoModifyURL to prevent it from modifying the url.
NodeEnabled is an element query option to wait until all queried element
nodes have been sent by the browser and are enabled (i.e., do not have a
'disabled' attribute).
NoDefaultBrowserCheck is the Chrome command line option to disable the
default browser check.
NodeIDs is an element query action that retrieves the element node IDs matching the
selector.
NodeNotPresent is an element query option to wait until no elements are
present that match the query.
Note: forces the expected number of element nodes to be 0.
NodeNotVisible is an element query option to wait until all queried element
nodes have been sent by the browser and are not visible.
NodeReady is an element query option to wait until all queried element nodes
have been sent by the browser.
Nodes is an element query action that retrieves the document element nodes
matching the selector.
NodeSelected is an element query option to wait until all queried element
nodes have been sent by the browser and are selected (i.e., has 'selected'
attribute).
NodeVisible is an element query option to wait until all queried element
nodes have been sent by the browser and are visible.
NoFirstRun is the Chrome command line option to disable the first run
dialog.
NoModifyURL is a RemoteAllocatorOption that prevents the remote allocator
from modifying the websocket debugger URL passed to it.
NoSandbox is the Chrome command line option to disable the sandbox.
OuterHTML is an element query action that retrieves the outer html of the first
element node matching the selector.
Poll is a poll action that will wait for a general JavaScript predicate.
It builds the predicate from a JavaScript expression.
This is a copy of puppeteer's [page.waitForFunction].
It's named Poll intentionally to avoid messing up with the Wait* query actions.
The behavior is not guaranteed to be compatible.
For example, our implementation makes the poll task not survive from a navigation,
and an error is raised in this case (see unit test TestPoll/NotSurviveNavigation).
# Polling Options
The default polling mode is "raf", to constantly execute pageFunction in requestAnimationFrame callback.
This is the tightest polling mode which is suitable to observe styling changes.
The WithPollingInterval option makes it to poll the predicate with a specified interval.
The WithPollingMutation option makes it to poll the predicate on every DOM mutation.
The WithPollingTimeout option specifies the maximum time to wait for the predicate returns truthy value.
It defaults to 30 seconds. Pass 0 to disable timeout.
The WithPollingInFrame option specifies the frame in which to evaluate the predicate.
If not specified, it will be evaluated in the root page of the current tab.
The WithPollingArgs option provides extra arguments to pass to the predicate.
Only apply this option when the predicate is built from a function.
See [PollFunction].
PollFunction is a poll action that will wait for a general JavaScript predicate.
It builds the predicate from a JavaScript function.
See [Poll] for details on building poll tasks.
ProxyServer is the command line option to set the outbound proxy server.
Query is a query action that queries the browser for specific element
node(s) matching the criteria.
Query actions that target a browser DOM element node (or nodes) make use of
Query, in conjunction with the [After] option to retrieve data or
to modify the element(s) selected by the query.
For example:
chromedp.Run(ctx, chromedp.SendKeys(`thing`, chromedp.ByID))
The above will perform a [SendKeys] action on the first element matching a
browser CSS query for "#thing".
[Element] selection queries work in conjunction with specific actions and form
the primary way of automating [Tasks] in the browser. They are typically
written in the following form:
Action(selector[, parameter1, ...parameterN][,result][, queryOptions...])
Where:
- Action - the action to perform
- selector - element query selection (typically a string), that any matching node(s) will have the action applied
- parameter[1-N] - parameter(s) needed for the individual action (if any)
- result - pointer to a result (if any)
- queryOptions - changes how queries are executed, or how nodes are waited for
# Query Options
By* options specify the type of element query used By the browser to perform
the selection query. When not specified, element queries will use [BySearch]
(a wrapper for DOM.performSearch).
Node* options specify node conditions that cause the query to wait until the
specified condition is true. When not specified, queries will use the
[NodeReady] wait condition.
The [AtLeast] option alters the minimum number of nodes that must be returned
by the element query. If not specified, the default value is 1.
The [After] option is used to specify a func that will be executed when
element query has returned one or more elements, and after the node condition is
true.
# By Options
The [BySearch] (default) option enables querying for elements by plain text,
CSS selector or XPath query, wrapping DOM.performSearch.
The [ByID] option enables querying for a single element with the matching CSS
ID, wrapping DOM.querySelector. ByID is similar to calling
document.querySelector('#' + ID) from within the browser.
The [ByQuery] option enables querying for a single element using a CSS
selector, wrapping DOM.querySelector. ByQuery is similar to calling
document.querySelector() from within the browser.
The [ByQueryAll] option enables querying for elements using a CSS selector,
wrapping DOM.querySelectorAll. ByQueryAll is similar to calling
document.querySelectorAll() from within the browser.
The [ByJSPath] option enables querying for a single element using its "JS
Path" value, wrapping Runtime.evaluate. ByJSPath is similar to executing a
JavaScript snippet that returns an element from within the browser. ByJSPath
should be used only with trusted element queries, as it is passed directly
to Runtime.evaluate, and no attempt is made to sanitize the query. Useful
for querying DOM elements that cannot be retrieved using other By* funcs,
such as ShadowDOM elements.
# Node Options
The [NodeReady] (default) option causes the query to wait until all element
nodes matching the selector have been retrieved from the browser.
The [NodeVisible] option causes the query to wait until all element nodes
matching the selector have been retrieved from the browser, and are visible.
The [NodeNotVisible] option causes the query to wait until all element nodes
matching the selector have been retrieved from the browser, and are not
visible.
The [NodeEnabled] option causes the query to wait until all element nodes
matching the selector have been retrieved from the browser, and are enabled
(i.e., do not have a 'disabled' attribute).
The [NodeSelected] option causes the query to wait until all element nodes
matching the selector have been retrieved from the browser, and are
selected (i.e., has a 'selected' attribute).
The [NodeNotPresent] option causes the query to wait until there are no
element nodes matching the selector.
QueryAfter is an element query action that queries the browser for selector
sel. Waits until the visibility conditions of the query have been met, after
which executes f.
Reload is an action that reloads the current page.
RemoveAttribute is an element query action that removes the element attribute with
name from the first element node matching the selector.
Reset is an element query action that resets the parent form of the first element
node matching the selector.
ResetViewport is an action to reset the browser viewport to the default
values the browser was started with.
Note: does not modify / change the browser's emulated User-Agent, if any.
RetryInterval is an element query action option to set the retry interval to specify
how often it should retry when it failed to select the target element(s).
The default value is 5ms.
Run runs an action against context. The provided context must be a valid
chromedp context, typically created via NewContext.
Note that the first time Run is called on a context, a browser will be
allocated via Allocator. Thus, it's generally a bad idea to use a context
timeout on the first Run call, as it will stop the entire browser.
Also note that the actions are run with the Target executor. In the case that
a Browser executor is required, the action can be written like this:
err := chromedp.Run(ctx, chromedp.ActionFunc(func(ctx context.Context) error {
c := chromedp.FromContext(ctx)
id, err := target.CreateBrowserContext().Do(cdp.WithExecutor(ctx, c.Browser))
return err
}))
RunResponse is an alternative to Run which can be used with a list of actions
that trigger a page navigation, such as clicking on a link or button.
RunResponse will run the actions and block until a page loads, returning the
HTTP response information for its HTML document. This can be useful to wait
for the page to be ready, or to catch 404 status codes, for example.
Note that if the actions trigger multiple navigations, only the first is
used. And if the actions trigger no navigations at all, RunResponse will
block until the context is cancelled.
Screenshot is an element query action that takes a screenshot of the first element
node matching the selector.
It's supposed to act the same as the command "Capture node screenshot" in Chrome.
Behavior notes: the Protocol Monitor shows that the command sends the following
CDP commands too:
- Emulation.clearDeviceMetricsOverride
- Network.setUserAgentOverride with {"userAgent": ""}
- Overlay.setShowViewportSizeOnResize with {"show": false}
These CDP commands are not sent by chromedp. If it does not work as expected,
you can try to send those commands yourself.
See [CaptureScreenshot] for capturing a screenshot of the browser viewport.
See [screenshot] for an example of taking a screenshot of the entire page.
ScreenshotScale is like [Screenshot] but accepts a scale parameter that
specifies the page scale factor.
ScrollIntoView is an element query action that scrolls the window to the
first element node matching the selector.
SendKeys is an element query action that synthesizes the key up, char, and down
events as needed for the runes in v, sending them to the first element node
matching the selector.
See the [keys] for a complete example on how to use SendKeys.
Note: when the element query matches an input[type="file"] node, then
dom.SetFileInputFiles is used to set the upload path of the input node to v.
SetAttributes is an element query action that sets the element attributes for the
first element node matching the selector.
SetAttributeValue is an element query action that sets the element attribute with
name to value for the first element node matching the selector.
SetJavascriptAttribute is an element query action that sets the JavaScript attribute
for the first element node matching the selector.
SetUploadFiles is an element query action that sets the files to upload (i.e., for a
input[type="file"] node) for the first element node matching the selector.
SetValue is an element query action that sets the JavaScript value of the first
element node matching the selector.
Useful for setting an element's JavaScript value, namely form, input,
textarea, select, or other element with a '.value' field.
Sleep is an empty action that calls time.Sleep with the specified duration.
Note: this is a temporary action definition for convenience, and will likely
be marked for deprecation in the future, after the remaining Actions have
been able to be written/tested.
Stop is an action that stops all navigation and pending resource retrieval.
Submit is an element query action that submits the parent form of the first element
node matching the selector.
Targets lists all the targets in the browser attached to the given context.
Text is an element query action that retrieves the visible text of the first element
node matching the selector.
TextContent is an element query action that retrieves the text content of the first element
node matching the selector.
Title is an action that retrieves the document title.
UserAgent is the command line option to set the default User-Agent
header.
UserDataDir is the command line option to set the user data dir.
Note: set this option to manually set the profile directory used by Chrome.
When this is not set, then a default path will be created in the /tmp
directory.
Value is an element query action that retrieves the JavaScript value field of the
first element node matching the selector.
Useful for retrieving an element's JavaScript value, namely form, input,
textarea, select, or any other element with a '.value' field.
WaitEnabled is an element query action that waits until the element matching
the selector is enabled (i.e., does not have attribute 'disabled').
WaitFunc is an element query option to set a custom node condition wait.
WaitNewTarget can be used to wait for the current target to open a new
target. Once fn matches a new unattached target, its target ID is sent via
the returned channel.
WaitNotPresent is an element query action that waits until no elements are
present matching the selector.
WaitNotVisible is an element query action that waits until the element
matching the selector is not visible.
WaitReady is an element query action that waits until the element matching
the selector is ready (i.e., has been "loaded").
WaitSelected is an element query action that waits until the element
matching the selector is selected (i.e., has attribute 'selected').
WaitVisible is an element query action that waits until the element matching
the selector is visible.
WindowSize is the command line option to set the initial window size.
WithBrowserDebugf is a browser option to specify a func to log actual
websocket messages.
WithBrowserErrorf is a browser option to specify a func to receive error logging.
WithBrowserLogf is a browser option to specify a func to receive general logging.
WithBrowserOption allows passing a number of browser options to the allocator
when allocating a new browser. As such, this context option can only be used
when NewContext is allocating a new browser.
WithConnDebugf is a dial option to set a protocol logger.
WithConsolef is a browser option to specify a func to receive chrome log events.
Note: NOT YET IMPLEMENTED.
WithDebugf is a shortcut for WithBrowserOption(WithBrowserDebugf(f)).
WithDialTimeout is a browser option to specify the timeout when dialing a
browser's websocket address. The default is ten seconds; use a zero duration
to not use a timeout.
WithErrorf is a shortcut for WithBrowserOption(WithBrowserErrorf(f)).
WithExistingBrowserContext sets up a context to create a new target in the
specified browser context.
WithLogf is a shortcut for WithBrowserOption(WithBrowserLogf(f)).
WithNewBrowserContext sets up a context to create a new BrowserContext, and
create a new target in this BrowserContext. A child context will create its
target in this BrowserContext too, unless it's set up with other options.
The new BrowserContext will be disposed when the context is done.
WithPollingArgs provides extra arguments to pass to the predicate.
WithPollingInFrame specifies the frame in which to evaluate the predicate.
If not specified, it will be evaluated in the root page of the current tab.
WithPollingInterval makes it to poll the predicate with the specified interval.
WithPollingMutation makes it to poll the predicate on every DOM mutation.
WithPollingTimeout specifies the maximum time to wait for the predicate returns truthy value.
It defaults to 30 seconds. Pass 0 to disable timeout.
WithTargetID sets up a context to be attached to an existing target, instead
of creating a new one.
WSURLReadTimeout sets the waiting time for reading the WebSocket URL.
The default value is 20 seconds.
Package-Level Variables (only one)
DefaultExecAllocatorOptions are the ExecAllocator options used by NewContext
if the given parent context doesn't have an allocator set up. Do not modify
this global; instead, use NewExecAllocator. See [ExampleExecAllocator].
Package-Level Constants (total 15)
ErrChannelClosed is the channel closed error.
ErrDisabled is the disabled error.
ErrHasResults is the has results error.
ErrInvalidBoxModel is the invalid box model error.
ErrInvalidContext is the invalid context error.
ErrInvalidDimensions is the invalid dimensions error.
ErrInvalidTarget is the invalid target error.
ErrInvalidWebsocketMessage is the invalid websocket message.
ErrJSNull is the error that the value of RemoteObject is null.
ErrJSUndefined is the error that the type of RemoteObject is "undefined".
ErrNoResults is the no results error.
ErrNotSelected is the not selected error.
ErrNotVisible is the not visible error.
ErrPollingTimeout is the error that the timeout reached before the pageFunction returns a truthy value.
ErrVisible is the visible error.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |