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
TestOuterHTML
(t *testing.T)
query_test.go:1366
Function
TestPDFBackground
TestPDFTemplate tests that the resource pack is loaded in headless-shell. regression test for https://github.com/chromedp/chromedp/issues/1551
chromedp_test.go:1534
Function
TestPDFOptions
TestPDFOptions checks that each option sets its fields of the command.
pdf_test.go:175
Function
TestPDFTemplate
When it is loaded correctly, the header and footer templates that use these values work as expected: - title - url - pageNumber - totalPages This is
test/pdf_test.go:25
Function
TestPingAfterCloseStarted
TestPingAfterCloseStarted checks that a ping after Close gives no pong and no write error.
remote/internal/websocket/conn_test.go:674
Function
TestPingInFragmentedMessageAtLimit
TestPingInFragmentedMessageAtLimit checks that a control frame between two fragments does not count for the size of the message.
remote/internal/websocket/conn_test.go:606
Function
TestPipeConnClose
(t *testing.T)
pipe_test.go:189
Function
TestPipeConnRead
(t *testing.T)
pipe_test.go:31
Function
TestPipeConnReadEOF
(t *testing.T)
pipe_test.go:94
Function
TestPipeConnWrite
(t *testing.T)
pipe_test.go:122
Function
TestPipeConnWriteConcurrent
TestPipeConnWriteConcurrent checks that the messages of several writers do not mix. A large message needs more than one write to a real pipe.
pipe_test.go:145
Function
TestPoll
(t *testing.T)
poll_test.go:11
Function
TestPollFrame
(t *testing.T)
poll_test.go:180
Function
TestPollNull
TestPollNull makes sure that a predicate that returns null is not truthy, so Poll times out and does not return ErrJSNull.
poll_test.go:246
Function
TestPollRemoteObject
(t *testing.T)
poll_test.go:201
Function
TestPollTimeout
(t *testing.T)
poll_test.go:220
Function
TestPrematureCancel
(t *testing.T)
chromedp_test.go:324
Function
TestPrematureCancelAllocator
(t *testing.T)
chromedp_test.go:355
Function
TestPrematureCancelTab
(t *testing.T)
chromedp_test.go:337
Function
TestPrintToPDF
(t *testing.T)
pdf_test.go:65
Function
TestPrintToPDFHeaderAndFooter
TestPrintToPDFHeaderAndFooter checks that the options of chromedp.PrintToPDF reach the browser. The header and the footer templates turn the header an
test/pdf_test.go:101
Function
TestPrintToPDFPageCount
(t *testing.T)
pdf_test.go:103
Function
TestPrintToPDFPageRangeError
(t *testing.T)
pdf_test.go:164
Function
TestPrintToPDFStreamClosedAfterError
TestPrintToPDFStreamClosedAfterError makes sure that readStream closes the stream when the read fails, here because the context of the read ended.
pdf_test.go:226
Function
TestPrintToPDFStreamIsTheSameFile
(t *testing.T)
pdf_test.go:142
Function
TestProseIsSimpleEnglish
(t *testing.T)
docs/docs_test.go:138
Function
TestQueryIframe
(t *testing.T)
nav_test.go:295
Function
TestReadFrameHeader
(t *testing.T)
remote/internal/websocket/frame_test.go:107
Function
TestReadMessage
TestReadMessage reads the valid examples of RFC 6455 section 5.7 and some more.
remote/internal/websocket/conn_test.go:132
Function
TestReadMessageErrors
TestReadMessageErrors covers each class of protocol error. The reader must send a close frame with the matching code.
remote/internal/websocket/conn_test.go:202
Function
TestReadMessageSequence
TestReadMessageSequence reads two messages in a row. The first buffer can be reused for the second.
remote/internal/websocket/conn_test.go:185
Function
TestReadMessageTruncated
TestReadMessageTruncated checks the streams that end too soon.
remote/internal/websocket/conn_test.go:267
Function
TestReload
(t *testing.T)
nav_test.go:220
Function
TestRemoveAttribute
(t *testing.T)
query_test.go:982
Function
TestReset
(t *testing.T)
query_test.go:585
Function
TestRetryInterval
(t *testing.T)
query_test.go:197
Function
TestRetryRemove
TestRetryRemove checks that the removal of a user data directory tries again when it fails. Child processes of Chrome can write in the directory after
allocate_test.go:238
Function
TestRootHoldsFiveDocuments
(t *testing.T)
docs/docs_test.go:72
Function
TestRunResponse
(t *testing.T)
chromedp_test.go:1221
Function
TestRunResponse_noResponse
(t *testing.T)
chromedp_test.go:1441
Function
TestRuntimeDisabledExposeFunc
(t *testing.T)
runtime_disabled_test.go:111
Function
TestRuntimeDisabledHidesTheProtocol
(t *testing.T)
runtime_disabled_test.go:29
Function
TestRuntimeDisabledPoll
(t *testing.T)
runtime_disabled_test.go:83
Function
TestRuntimeDisabledQueries
(t *testing.T)
runtime_disabled_test.go:45
Function
TestSVGFullXPath
(t *testing.T)
query_test.go:1426
Function
TestScreenshot
(t *testing.T)
test/screenshot_test.go:18
Function
TestScreenshotHighDPI
(t *testing.T)
test/screenshot_test.go:129
Function
TestScreenshotScale
(t *testing.T)
test/screenshot_test.go:83
Function
TestScrollIntoView
(t *testing.T)
query_test.go:1397
Function
TestSelectorByFunc
(t *testing.T)
query_test.go:1798
Function
TestSelectorCSS
(t *testing.T)
query_test.go:1684
Function
TestSelectorCSSAll
(t *testing.T)
query_test.go:1704
Function
TestSelectorID
(t *testing.T)
query_test.go:1719
Function
TestSelectorJSPath
(t *testing.T)
query_test.go:1739
Function
TestSelectorNoMatchError
(t *testing.T)
query_test.go:1859
Function
TestSelectorNodeIDs
(t *testing.T)
query_test.go:1762
Function
TestSelectorPlainString
(t *testing.T)
query_test.go:1655
Function
TestSelectorSearch
(t *testing.T)
query_test.go:1629
Function
TestSendKeys
(t *testing.T)
query_test.go:1100
Function
TestSetAttributeValue
(t *testing.T)
query_test.go:938
Function
TestSetAttributes
(t *testing.T)
query_test.go:823
Function
TestSetValue
(t *testing.T)
query_test.go:672
Function
TestSkillsAreCopies
(t *testing.T)
docs/docs_test.go:99
Function
TestSkipNewContext
(t *testing.T)
allocate_test.go:299
Function
TestStartFromLockedThread
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
Function
TestStartsWithNonBlankTab
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
Function
TestStop
(t *testing.T)
nav_test.go:210
Function
TestSubmit
(t *testing.T)
query_test.go:1145
Function
TestSubscribe
(t *testing.T)
event_test.go:209
Function
TestTap
(t *testing.T)
input_test.go:416
Function
TestTargetHandlesEveryEvent
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:171
Function
TestTargets
(t *testing.T)
chromedp_test.go:261
Function
TestText
(t *testing.T)
query_test.go:464
Function
TestTextContent
(t *testing.T)
query_test.go:501
Function
TestTitle
(t *testing.T)
nav_test.go:278
Function
TestTransportHasNoProxy
TestTransportHasNoProxy checks that the dial ignores the proxy variables.
remote/internal/websocket/handshake_test.go:528
Function
TestTransportTimeouts
(t *testing.T)
remote/internal/websocket/handshake_test.go:787
Function
TestUnmarshalWithDefaultOptions
(t *testing.T)
browser_test.go:18
Function
TestValue
(t *testing.T)
query_test.go:624
Function
TestValueUndefined
(t *testing.T)
query_test.go:657
Function
TestVisibleWindow
TestVisibleWindow starts a browser with a visible window. It needs a display, so it skips on Linux without one.
visible_test.go:218
Function
TestVisibleWindowFlags
(t *testing.T)
visible_test.go:63
Function
TestVisibleWindowFromEnv
(t *testing.T)
visible_test.go:91
Function
TestWaitClosed
(t *testing.T)
remote/keepopen_test.go:201
Function
TestWaitEnabled
(t *testing.T)
query_test.go:92
Function
TestWaitNewTarget
(t *testing.T)
event_test.go:182
Function
TestWaitNotPresent
(t *testing.T)
query_test.go:167
Function
TestWaitNotPresentJSPath
TestWaitNotPresentJSPath checks that WaitNotPresent succeeds when the JSPath expression gives null, undefined or an empty NodeList. These did not sele
query_test.go:1888
Function
TestWaitNotVisible
(t *testing.T)
query_test.go:69
Function
TestWaitReady
(t *testing.T)
query_test.go:25
Function
TestWaitReadyAfterFreshNavigation
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
Function
TestWaitReadyReuseAction
(t *testing.T)
query_test.go:1543
Function
TestWaitSelected
(t *testing.T)
query_test.go:131
Function
TestWaitVisible
(t *testing.T)
query_test.go:47
Function
TestWebGL
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
Function
TestWithBrowserOptionAlreadyAllocated
(t *testing.T)
allocate_test.go:431
Function
TestWithKeepOpen
(t *testing.T)
remote/keepopen_test.go:67
Function
TestWithListenerNewTab
(t *testing.T)
listen_test.go:225
Function
TestWithListenerTargetID
(t *testing.T)
listen_test.go:254
Function
TestWithNewWindow
(t *testing.T)
newwindow_test.go:24
← previous
next →
901–1,000 of 1,064, ranked by callers