MCPcopy Create free account

hub / github.com/chromedp/chromedp / functions

Functions1,064 in github.com/chromedp/chromedp

FunctionTestOuterHTML
(t *testing.T)
query_test.go:1366
FunctionTestPDFBackground
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
FunctionTestPDFOptions
TestPDFOptions checks that each option sets its fields of the command.
pdf_test.go:175
FunctionTestPDFTemplate
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
FunctionTestPingAfterCloseStarted
TestPingAfterCloseStarted checks that a ping after Close gives no pong and no write error.
remote/internal/websocket/conn_test.go:674
FunctionTestPingInFragmentedMessageAtLimit
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
FunctionTestPipeConnClose
(t *testing.T)
pipe_test.go:189
FunctionTestPipeConnRead
(t *testing.T)
pipe_test.go:31
FunctionTestPipeConnReadEOF
(t *testing.T)
pipe_test.go:94
FunctionTestPipeConnWrite
(t *testing.T)
pipe_test.go:122
FunctionTestPipeConnWriteConcurrent
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
FunctionTestPoll
(t *testing.T)
poll_test.go:11
FunctionTestPollFrame
(t *testing.T)
poll_test.go:180
FunctionTestPollNull
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
FunctionTestPollRemoteObject
(t *testing.T)
poll_test.go:201
FunctionTestPollTimeout
(t *testing.T)
poll_test.go:220
FunctionTestPrematureCancel
(t *testing.T)
chromedp_test.go:324
FunctionTestPrematureCancelAllocator
(t *testing.T)
chromedp_test.go:355
FunctionTestPrematureCancelTab
(t *testing.T)
chromedp_test.go:337
FunctionTestPrintToPDF
(t *testing.T)
pdf_test.go:65
FunctionTestPrintToPDFHeaderAndFooter
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
FunctionTestPrintToPDFPageCount
(t *testing.T)
pdf_test.go:103
FunctionTestPrintToPDFPageRangeError
(t *testing.T)
pdf_test.go:164
FunctionTestPrintToPDFStreamClosedAfterError
TestPrintToPDFStreamClosedAfterError makes sure that readStream closes the stream when the read fails, here because the context of the read ended.
pdf_test.go:226
FunctionTestPrintToPDFStreamIsTheSameFile
(t *testing.T)
pdf_test.go:142
FunctionTestProseIsSimpleEnglish
(t *testing.T)
docs/docs_test.go:138
FunctionTestQueryIframe
(t *testing.T)
nav_test.go:295
FunctionTestReadFrameHeader
(t *testing.T)
remote/internal/websocket/frame_test.go:107
FunctionTestReadMessage
TestReadMessage reads the valid examples of RFC 6455 section 5.7 and some more.
remote/internal/websocket/conn_test.go:132
FunctionTestReadMessageErrors
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
FunctionTestReadMessageSequence
TestReadMessageSequence reads two messages in a row. The first buffer can be reused for the second.
remote/internal/websocket/conn_test.go:185
FunctionTestReadMessageTruncated
TestReadMessageTruncated checks the streams that end too soon.
remote/internal/websocket/conn_test.go:267
FunctionTestReload
(t *testing.T)
nav_test.go:220
FunctionTestRemoveAttribute
(t *testing.T)
query_test.go:982
FunctionTestReset
(t *testing.T)
query_test.go:585
FunctionTestRetryInterval
(t *testing.T)
query_test.go:197
FunctionTestRetryRemove
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
FunctionTestRootHoldsFiveDocuments
(t *testing.T)
docs/docs_test.go:72
FunctionTestRunResponse
(t *testing.T)
chromedp_test.go:1221
FunctionTestRunResponse_noResponse
(t *testing.T)
chromedp_test.go:1441
FunctionTestRuntimeDisabledExposeFunc
(t *testing.T)
runtime_disabled_test.go:111
FunctionTestRuntimeDisabledHidesTheProtocol
(t *testing.T)
runtime_disabled_test.go:29
FunctionTestRuntimeDisabledPoll
(t *testing.T)
runtime_disabled_test.go:83
FunctionTestRuntimeDisabledQueries
(t *testing.T)
runtime_disabled_test.go:45
FunctionTestSVGFullXPath
(t *testing.T)
query_test.go:1426
FunctionTestScreenshot
(t *testing.T)
test/screenshot_test.go:18
FunctionTestScreenshotHighDPI
(t *testing.T)
test/screenshot_test.go:129
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:171
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
FunctionTestTransportHasNoProxy
TestTransportHasNoProxy checks that the dial ignores the proxy variables.
remote/internal/websocket/handshake_test.go:528
FunctionTestTransportTimeouts
(t *testing.T)
remote/internal/websocket/handshake_test.go:787
FunctionTestUnmarshalWithDefaultOptions
(t *testing.T)
browser_test.go:18
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
FunctionTestWithListenerNewTab
(t *testing.T)
listen_test.go:225
FunctionTestWithListenerTargetID
(t *testing.T)
listen_test.go:254
FunctionTestWithNewWindow
(t *testing.T)
newwindow_test.go:24
← previousnext →901–1,000 of 1,064, ranked by callers