Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chromedp/chromedp
/ functions
Functions
1,064 in github.com/chromedp/chromedp
⨍
Functions
1,064
◇
Types & classes
83
Function
TestWithVisibleWindowKeepsCallerAllocator
(t *testing.T)
visible_test.go:139
Function
TestWriteText
TestWriteText checks the frame of a message, with the sizes where the length encoding changes.
remote/internal/websocket/conn_test.go:417
Method
Unwrap
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
Method
Unwrap
Unwrap returns ErrPageLoad, so that errors.Is finds it.
errors.go:50
Function
UserAgent
UserAgent is the command line option to set the default User-Agent header.
allocate.go:802
Function
VisibleWindow
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
Method
Wait
Wait satisfies the Allocator interface.
allocate.go:611
Method
Wait
Wait satisfies the chromedp.Allocator interface.
remote/allocator.go:107
Function
WebSocket
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
Function
WindowSize
WindowSize is the command line option to set the initial window size.
allocate.go:796
Function
WithConsolef
WithConsolef is a browser option that sets the func that receives chrome log events. Note: it is not implemented yet.
browser.go:567
Function
WithPipeDebugf
WithPipeDebugf is a pipe option to set a protocol logger.
pipe.go:132
Method
Write
(ctx context.Context, msg *cdproto.Message)
browser_test.go:138
Method
Write
Write satisfies the io.Writer interface.
allocate.go:556
Method
Write
Write satisfies the io.Writer interface. It never fails.
allocate_pipe.go:108
Method
Write
Write satisfies the io.Writer interface.
remote/websocket_test.go:155
Method
Write
Write writes a message.
remote/conn.go:114
Method
Write
(p []byte)
remote/internal/websocket/conn_test.go:27
Function
allocateCmdOptions
(cmd *exec.Cmd)
allocate_other.go:12
Function
allocateCmdOptions
(cmd *exec.Cmd)
allocate_darwin.go:19
Function
attribute
(n)
js/attribute.js:1
Function
awaitPromise
awaitPromise makes Evaluate wait for the promise that the expression gives.
expose_test.go:17
Function
blur
()
js/blur.js:1
Function
callFunctionOn
callFunctionOn calls the function, and returns the decoded result and the remote object of the result.
call.go:68
Function
checkDisplay
checkDisplay does nothing on this platform.
allocate_other.go:8
Function
checkDisplay
checkDisplay does nothing on this platform.
allocate_darwin.go:15
Method
copy
()
allocate_pipe.go:146
Function
detachCmd
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
Function
dial
dial is the chromedp.Dialer of WebSocket. It dials with the default timeout.
remote/websocket.go:31
Function
dropChildPipes
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
Function
dropChildPipes
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
Function
exposeFunc
(name, binding)
js/exposeFunc.js:1
Function
exposedArg
exposedArg decodes the arguments of a call into the type A.
expose.go:237
Function
failed
failed returns an iterator that yields the error and ends.
action.go:295
Function
frameDetached
(f *Frame)
util.go:34
Function
frameStartedLoading
(f *Frame)
util.go:39
Function
frameStoppedLoading
(f *Frame)
util.go:43
Function
g
(e,r)
testdata/twgl-full.min.js:6
Function
getClientRect
()
js/getClientRect.js:1
Function
init
()
chromedp_test.go:50
Function
j
(e,r,t,n,o,u,i)
testdata/twgl-full.min.js:6
Function
k
(e,r)
testdata/twgl-full.min.js:6
Function
killLeftovers
killLeftovers does nothing on this platform.
allocate_other.go:16
Function
killLeftovers
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
Function
killProfileProcesses
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
Method
listen
listen is like [Target.listen] for the events of the browser.
chromedp.go:1089
Function
main
()
kb/gen.go:37
Function
main
()
device/gen.go:21
Function
parseRemoteObject
parseRemoteObject decodes the remote object into a value of the type T.
eval.go:73
Function
pe
()
testdata/twgl-full.min.js:6
Function
poll
(predicate string, opts ...PollOption)
poll.go:122
Function
readOutput
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
Function
reset
()
js/reset.js:1
Function
runPoll
run executes the poll task in the browser until the predicate returns a truthy value or the timeout ends.
poll.go:25
Function
setAttribute
(n, v)
js/setAttribute.js:1
Function
setChildPipes
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
Function
stubDialer
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
Function
submit
()
js/submit.js:1
Function
text
()
js/text.js:1
Function
textContent
()
js/textContent.js:1
Function
waitForPredicatePageFunction
(predicateBody, polling, timeout, ...args)
js/waitForPredicatePageFunction.js:1
Function
wantsRemoteObject
wantsRemoteObject reports whether the type T is *runtime.RemoteObject.
eval.go:66
Method
withExitError
withExitError adds the exit error of the browser process to err. See [Browser.withExitError]. It accepts a nil Context.
chromedp.go:323
Function
z
(e,r,t,n,i)
testdata/twgl-full.min.js:6
← previous
1,001–1,064 of 1,064, ranked by callers