MCPcopy Create free account

hub / github.com/chromedp/chromedp / functions

Functions912 in github.com/chromedp/chromedp

FunctionTestScreenshotScale
(t *testing.T)
test/screenshot_test.go:83
FunctionTestScrollIntoView
(t *testing.T)
query_test.go:1397
FunctionTestSelectorByFunc
(t *testing.T)
query_test.go:1798
FunctionTestSelectorCSS
(t *testing.T)
query_test.go:1684
FunctionTestSelectorCSSAll
(t *testing.T)
query_test.go:1704
FunctionTestSelectorID
(t *testing.T)
query_test.go:1719
FunctionTestSelectorJSPath
(t *testing.T)
query_test.go:1739
FunctionTestSelectorNoMatchError
(t *testing.T)
query_test.go:1859
FunctionTestSelectorNodeIDs
(t *testing.T)
query_test.go:1762
FunctionTestSelectorPlainString
(t *testing.T)
query_test.go:1655
FunctionTestSelectorSearch
(t *testing.T)
query_test.go:1629
FunctionTestSendKeys
(t *testing.T)
query_test.go:1100
FunctionTestSetAttributeValue
(t *testing.T)
query_test.go:938
FunctionTestSetAttributes
(t *testing.T)
query_test.go:823
FunctionTestSetValue
(t *testing.T)
query_test.go:672
FunctionTestSkillsAreCopies
(t *testing.T)
docs/docs_test.go:99
FunctionTestSkipNewContext
(t *testing.T)
allocate_test.go:299
FunctionTestStartFromLockedThread
TestStartFromLockedThread starts a browser from a goroutine that locks its OS thread and then ends. The thread ends with the goroutine. The allocator
allocate_linux_test.go:19
FunctionTestStartsWithNonBlankTab
TestStartsWithNonBlankTab is a regression test. It makes sure that chromedp does not hang when the browser starts with a non-blank tab. The browser s
allocate_test.go:487
FunctionTestStop
(t *testing.T)
nav_test.go:210
FunctionTestSubmit
(t *testing.T)
query_test.go:1145
FunctionTestSubscribe
(t *testing.T)
event_test.go:209
FunctionTestTap
(t *testing.T)
input_test.go:416
FunctionTestTargetHandlesEveryEvent
TestTargetHandlesEveryEvent makes sure that the target handles every event of the DOM and the Page domain, or lists it as an event to ignore. A new ve
target_test.go:141
FunctionTestTargets
(t *testing.T)
chromedp_test.go:261
FunctionTestText
(t *testing.T)
query_test.go:464
FunctionTestTextContent
(t *testing.T)
query_test.go:501
FunctionTestTitle
(t *testing.T)
nav_test.go:278
FunctionTestUnmarshalWithDefaultOptions
(t *testing.T)
browser_test.go:10
FunctionTestValue
(t *testing.T)
query_test.go:624
FunctionTestValueUndefined
(t *testing.T)
query_test.go:657
FunctionTestVisibleWindow
TestVisibleWindow starts a browser with a visible window. It needs a display, so it skips on Linux without one.
visible_test.go:218
FunctionTestVisibleWindowFlags
(t *testing.T)
visible_test.go:63
FunctionTestVisibleWindowFromEnv
(t *testing.T)
visible_test.go:91
FunctionTestWaitClosed
(t *testing.T)
remote/keepopen_test.go:201
FunctionTestWaitEnabled
(t *testing.T)
query_test.go:92
FunctionTestWaitNewTarget
(t *testing.T)
event_test.go:182
FunctionTestWaitNotPresent
(t *testing.T)
query_test.go:167
FunctionTestWaitNotPresentJSPath
TestWaitNotPresentJSPath checks that WaitNotPresent succeeds when the JSPath expression gives null, undefined or an empty NodeList. These did not sele
query_test.go:1888
FunctionTestWaitNotVisible
(t *testing.T)
query_test.go:69
FunctionTestWaitReady
(t *testing.T)
query_test.go:25
FunctionTestWaitReadyAfterFreshNavigation
TestWaitReadyAfterFreshNavigation runs WaitReady right after a navigation, before the target has any reason to have the nodes of the new document. The
query_test.go:1504
FunctionTestWaitReadyReuseAction
(t *testing.T)
query_test.go:1543
FunctionTestWaitSelected
(t *testing.T)
query_test.go:131
FunctionTestWaitVisible
(t *testing.T)
query_test.go:47
FunctionTestWebGL
TestWebGL tests that WebGL is correctly configured in headless-shell. This is a regression test for https://github.com/chromedp/chromedp/issues/1073.
chromedp_test.go:1494
FunctionTestWithBrowserOptionAlreadyAllocated
(t *testing.T)
allocate_test.go:431
FunctionTestWithKeepOpen
(t *testing.T)
remote/keepopen_test.go:67
FunctionTestWithNewWindow
(t *testing.T)
newwindow_test.go:24
FunctionTestWithVisibleWindowKeepsCallerAllocator
(t *testing.T)
visible_test.go:139
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:489
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
FunctionWithConnDebugf
WithConnDebugf is a dial option to set a protocol logger.
remote/conn.go:234
FunctionWithConsolef
WithConsolef is a browser option that sets the func that receives chrome log events. Note: it is not implemented yet.
browser.go:541
FunctionWithPipeDebugf
WithPipeDebugf is a pipe option to set a protocol logger.
pipe.go:132
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:186
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:232
Functionfailed
failed returns an iterator that yields the error and ends.
action.go:185
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:1014
Functionmain
()
kb/gen.go:37
Functionmain
()
device/gen.go:21
MethodnewTarget
(ctx context.Context, targetID target.ID, sessionID target.SessionID)
browser.go:193
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:120
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
← previousnext →801–900 of 912, ranked by callers