MCPcopy Create free account

hub / github.com/chromedp/chromedp / functions

Functions1,064 in github.com/chromedp/chromedp

FunctionTestWithVisibleWindowKeepsCallerAllocator
(t *testing.T)
visible_test.go:139
FunctionTestWriteText
TestWriteText checks the frame of a message, with the sizes where the length encoding changes.
remote/internal/websocket/conn_test.go:417
MethodUnwrap
Unwrap returns the exit error and the error of the call, so that errors.Is and errors.As find both. For example, errors.As finds the *exec.ExitError,
browser.go:515
MethodUnwrap
Unwrap returns ErrPageLoad, so that errors.Is finds it.
errors.go:50
FunctionUserAgent
UserAgent is the command line option to set the default User-Agent header.
allocate.go:802
FunctionVisibleWindow
VisibleWindow is the command line option to run the browser with a visible window. It removes the flags that make the browser quiet or hidden, and it
allocate.go:851
MethodWait
Wait satisfies the Allocator interface.
allocate.go:611
MethodWait
Wait satisfies the chromedp.Allocator interface.
remote/allocator.go:107
FunctionWebSocket
WebSocket is a chromedp.ExecAllocatorOption that makes the exec allocator connect to the browser with a websocket, as chromedp did before the pipe bec
remote/websocket.go:26
FunctionWindowSize
WindowSize is the command line option to set the initial window size.
allocate.go:796
FunctionWithConsolef
WithConsolef is a browser option that sets the func that receives chrome log events. Note: it is not implemented yet.
browser.go:567
FunctionWithPipeDebugf
WithPipeDebugf is a pipe option to set a protocol logger.
pipe.go:132
MethodWrite
(ctx context.Context, msg *cdproto.Message)
browser_test.go:138
MethodWrite
Write satisfies the io.Writer interface.
allocate.go:556
MethodWrite
Write satisfies the io.Writer interface. It never fails.
allocate_pipe.go:108
MethodWrite
Write satisfies the io.Writer interface.
remote/websocket_test.go:155
MethodWrite
Write writes a message.
remote/conn.go:114
MethodWrite
(p []byte)
remote/internal/websocket/conn_test.go:27
FunctionallocateCmdOptions
(cmd *exec.Cmd)
allocate_other.go:12
FunctionallocateCmdOptions
(cmd *exec.Cmd)
allocate_darwin.go:19
Functionattribute
(n)
js/attribute.js:1
FunctionawaitPromise
awaitPromise makes Evaluate wait for the promise that the expression gives.
expose_test.go:17
Functionblur
()
js/blur.js:1
FunctioncallFunctionOn
callFunctionOn calls the function, and returns the decoded result and the remote object of the result.
call.go:68
FunctioncheckDisplay
checkDisplay does nothing on this platform.
allocate_other.go:8
FunctioncheckDisplay
checkDisplay does nothing on this platform.
allocate_darwin.go:15
Methodcopy
()
allocate_pipe.go:146
FunctiondetachCmd
detachCmd makes the process of cmd start detached from the console and in a new process group. The browser then keeps running when the Go program exit
allocate_detach_windows.go:16
Functiondial
dial is the chromedp.Dialer of WebSocket. It dials with the default timeout.
remote/websocket.go:31
FunctiondropChildPipes
dropChildPipes takes the pipes of the browser away from cmd, so that the browser starts without the handles that the switch names.
pipe_windows_test.go:13
FunctiondropChildPipes
dropChildPipes takes the pipes of the browser away from cmd, so that the browser starts without the file descriptors 3 and 4.
pipe_unix_test.go:9
FunctionexposeFunc
(name, binding)
js/exposeFunc.js:1
FunctionexposedArg
exposedArg decodes the arguments of a call into the type A.
expose.go:237
Functionfailed
failed returns an iterator that yields the error and ends.
action.go:295
FunctionframeDetached
(f *Frame)
util.go:34
FunctionframeStartedLoading
(f *Frame)
util.go:39
FunctionframeStoppedLoading
(f *Frame)
util.go:43
Functiong
(e,r)
testdata/twgl-full.min.js:6
FunctiongetClientRect
()
js/getClientRect.js:1
Functioninit
()
chromedp_test.go:50
Functionj
(e,r,t,n,o,u,i)
testdata/twgl-full.min.js:6
Functionk
(e,r)
testdata/twgl-full.min.js:6
FunctionkillLeftovers
killLeftovers does nothing on this platform.
allocate_other.go:16
FunctionkillLeftovers
killLeftovers kills the processes that still have the user data directory dir in their command line, after the main process of a browser exited. Chro
allocate_darwin.go:31
FunctionkillProfileProcesses
killProfileProcesses does nothing on this platform. The tests kill the main browser process, and its children exit with it.
remote/keepopen_other_test.go:7
Methodlisten
listen is like [Target.listen] for the events of the browser.
chromedp.go:1089
Functionmain
()
kb/gen.go:37
Functionmain
()
device/gen.go:21
FunctionparseRemoteObject
parseRemoteObject decodes the remote object into a value of the type T.
eval.go:73
Functionpe
()
testdata/twgl-full.min.js:6
Functionpoll
(predicate string, opts ...PollOption)
poll.go:122
FunctionreadOutput
readOutput reads the websocket address from the output of Chrome and returns as soon as it finds the address. It forwards all output that it reads to
allocate.go:544
Functionreset
()
js/reset.js:1
FunctionrunPoll
run executes the poll task in the browser until the predicate returns a truthy value or the timeout ends.
poll.go:25
FunctionsetAttribute
(n, v)
js/setAttribute.js:1
FunctionsetChildPipes
setChildPipes gives the ends of the pipes that the browser uses to cmd. The browser has no file descriptors 3 and 4 on Windows. Chromium takes the han
pipe_windows.go:24
FunctionstubDialer
stubDialer is a Dialer for the tests of the websocket mode that never need a connection. The core module has no websocket code, so the tests that need
allocate_test.go:29
Functionsubmit
()
js/submit.js:1
Functiontext
()
js/text.js:1
FunctiontextContent
()
js/textContent.js:1
FunctionwaitForPredicatePageFunction
(predicateBody, polling, timeout, ...args)
js/waitForPredicatePageFunction.js:1
FunctionwantsRemoteObject
wantsRemoteObject reports whether the type T is *runtime.RemoteObject.
eval.go:66
MethodwithExitError
withExitError adds the exit error of the browser process to err. See [Browser.withExitError]. It accepts a nil Context.
chromedp.go:323
Functionz
(e,r,t,n,i)
testdata/twgl-full.min.js:6
← previous1,001–1,064 of 1,064, ranked by callers