Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chromedp/chromedp
/ functions
Functions
1,086 in github.com/chromedp/chromedp
⨍
Functions
1,086
◇
Types & classes
86
Function
TestNavigate
(t *testing.T)
nav_test.go:19
Function
TestNavigateBack
(t *testing.T)
nav_test.go:163
Function
TestNavigateCancelled
(t *testing.T)
nav_test.go:446
Function
TestNavigateContextTimeout
(t *testing.T)
nav_test.go:326
Function
TestNavigateForward
(t *testing.T)
nav_test.go:186
Function
TestNavigateLoadError
TestNavigateLoadError checks the error of a page that does not load. A program must find it with errors.Is and errors.As. The text of the error is the
nav_test.go:90
Function
TestNavigateToHistoryEntry
(t *testing.T)
nav_test.go:136
Function
TestNavigateWhileLoading
(t *testing.T)
nav_test.go:352
Function
TestNavigateWithoutWaitingForLoad
(t *testing.T)
nav_test.go:427
Function
TestNavigationEntries
(t *testing.T)
nav_test.go:41
Function
TestNewContextVisibleWindow
(t *testing.T)
visible_test.go:113
Function
TestNoDataFrameAfterClose
TestNoDataFrameAfterClose checks that a Write that runs while Close runs never puts a data frame on the wire after the close frame.
remote/internal/websocket/handshake_test.go:604
Function
TestNoExitErrorAfterCancel
TestNoExitErrorAfterCancel makes sure that a program that stops the browser itself gets no exit error. The process ends with a signal then, too.
allocate_test.go:219
Function
TestNoInheritEnv
TestNoInheritEnv starts a fake browser that writes its environment to a file. The browser has only the variables that Env and ModifyCmdFunc give when
allocate_test.go:644
Function
TestNoInheritEnvEmpty
(t *testing.T)
allocate_test.go:720
Function
TestNoRetryForInvalidSelector
(t *testing.T)
query_test.go:262
Function
TestNodeIDs
(t *testing.T)
query_test.go:348
Function
TestNodeOp
test: - insertBefore - removeChild - appendChild - replaceChild - prepend - append - insertAdjacentElement
util_test.go:124
Function
TestNodeStateEvents
(t *testing.T)
target_test.go:78
Function
TestNodes
(t *testing.T)
query_test.go:315
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
TestRedactURL
(t *testing.T)
remote/address_test.go:265
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
← previous
next →
901–1,000 of 1,086, ranked by callers