MCPcopy Create free account

hub / github.com/chromedp/chromedp / functions

Functions912 in github.com/chromedp/chromedp

↓ 1 callersFunctionButtonModifiers
ButtonModifiers is a mouse action option to add input modifiers for a button click.
input.go:196
↓ 1 callersFunctionC
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionClear
Clear is an element query action that clears the values of any input/textarea element nodes matching the selector.
query.go:937
↓ 1 callersFunctionClickCount
ClickCount is a mouse action option to set the click count.
input.go:205
↓ 1 callersFunctionComputedStyle
ComputedStyle is an element query action that retrieves the computed style of the first element node matching the selector.
query.go:1374
↓ 1 callersMethodDevice
Device returns the device info.
emulate.go:93
↓ 1 callersFunctionDimensions
Dimensions is an element query action that retrieves the box model dimensions for the first element node matching the selector.
query.go:895
↓ 1 callersFunctionDoubleClick
DoubleClick is an element query action that sends a mouse double click event to the first element node matching the selector.
query.go:1236
↓ 1 callersFunctionDump
Dump is an element query action that writes a readable tree of the first element node matching the selector and its children. The tree ends at the spe
query.go:1446
↓ 1 callersFunctionDumpTo
DumpTo is an element query action that writes a readable tree of the first element node matching the selector and its children. The tree ends at the s
query.go:1427
↓ 1 callersFunctionEe
(e,r,t,n)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionEmulateScale
EmulateScale is an emulate viewport option to set the device viewport scaling factor.
emulate.go:40
↓ 1 callersFunctionEncode
Encode encodes a keyDown, char, and keyUp sequence for the specified rune.
kb/kb.go:75
↓ 1 callersFunctionEncodeUnidentified
EncodeUnidentified encodes a keyDown, char, and keyUp sequence for an unidentified rune.
kb/kb.go:53
↓ 1 callersFunctionEvalObjectGroup
EvalObjectGroup is an evaluate option to set the object group.
eval.go:131
↓ 1 callersFunctionFe
(e,r,t,n)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionG
(e)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionI
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionInnerHTML
InnerHTML is an element query action that retrieves the inner html of the first element node matching the selector.
query.go:1193
↓ 1 callersMethodIsException
IsException reports whether the message is an uncaught exception or an unhandled promise rejection.
console.go:81
↓ 1 callersFunctionLegacy
Legacy makes an action from an action of the previous version. The old action receives the same context, so [Call] and [CallBrowser] work inside it.
action.go:114
↓ 1 callersFunctionM
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionMatchedStyle
MatchedStyle is an element query action that retrieves the matched style information for the first element node matching the selector.
query.go:1392
↓ 1 callersFunctionNavigateForward
NavigateForward is an action that navigates the current frame forwards in its history, and waits for the page to load.
nav.go:76
↓ 1 callersFunctionNavigateToHistoryEntry
NavigateToHistoryEntry is an action to navigate to the specified navigation entry, and wait for the page to load.
nav.go:51
↓ 1 callersFunctionNewAllocatorContext
NewAllocatorContext creates a new context that holds the allocator a. Use it with NewContext, as with the context of NewExecAllocator. It is for an Al
allocate.go:152
↓ 1 callersFunctionNodeReady
NodeReady is an element query option that waits until the browser has sent all queried element nodes.
query.go:601
↓ 1 callersFunctionOe
(e,r,t)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionPopulateWait
PopulateWait is a populate option that sets a wait interval after the request for child nodes.
query.go:794
↓ 1 callersFunctionReload
Reload is an action that reloads the current page, and waits for the page to load.
nav.go:95
↓ 1 callersFunctionRemoveAttribute
RemoveAttribute is an element query action that removes the element attribute with name from the first element node matching the selector.
query.go:1125
↓ 1 callersFunctionReset
Reset is an element query action that resets the parent form of the first element node matching the selector.
query.go:1352
↓ 1 callersFunctionRetryInterval
RetryInterval is an element query action option that sets how often the query retries when it fails to select the target elements. The default is 5ms
query.go:747
↓ 1 callersFunctionS
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionScreenshotNodes
ScreenshotNodes is an action that takes a screenshot of the specified nodes. It calculates the extents from the top most left node and the bottom most
screenshot.go:48
↓ 1 callersFunctionSetAttributes
SetAttributes is an element query action that sets the element attributes for the first element node matching the selector.
query.go:1056
↓ 1 callersFunctionSetJavascriptAttribute
SetJavascriptAttribute is an element query action that sets the JavaScript attribute for the first element node matching the selector.
query.go:1166
↓ 1 callersFunctionSetUploadFiles
SetUploadFiles is an element query action that sets the files to upload for the first element node matching the selector. The node must be an input[ty
query.go:1316
↓ 1 callersFunctionStop
Stop is an action that stops all navigation and pending resource retrieval.
nav.go:103
↓ 1 callersMethodString
String returns the type and the text of the message.
console.go:86
↓ 1 callersMethodString
String returns the Modifier as a string value.
kb/event.go:39
↓ 1 callersFunctionSubmit
Submit is an element query action that submits the parent form of the first element node matching the selector.
query.go:1330
↓ 1 callersFunctionTap
Tap is an element query action that sends a touch tap to the center of the first element node matching the selector. The action scrolls the node into
query.go:1217
↓ 1 callersFunctionU
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionV
(e,r)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionW
(e,r,t)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionWSURLReadTimeout
WSURLReadTimeout sets how long ExecAllocator waits to read the WebSocket URL. The default is 20 seconds. It only applies to the websocket mode, see [W
allocate.go:924
↓ 1 callersFunctionWaitEvent
WaitEvent makes an action that waits for an event. It subscribes to the event, runs the trigger action, and then returns the first payload for which m
action.go:204
↓ 1 callersFunctionWaitNotVisible
WaitNotVisible is an element query action that waits until the element matching the selector is not visible.
query.go:814
↓ 1 callersFunctionWaitSelected
WaitSelected is an element query action that waits until the element that matches the selector is selected (that is, it has the attribute 'selected').
query.go:826
↓ 1 callersFunctionWithBrowserErrorf
WithBrowserErrorf is a browser option that sets the func that receives error messages.
browser.go:527
↓ 1 callersFunctionWithBrowserLogf
WithBrowserLogf is a browser option that sets the func that receives general log messages.
browser.go:521
↓ 1 callersFunctionWithDetachOnCancel
WithDetachOnCancel makes the cancellation of the context detach from its tab and leave the tab open. By default, the cancellation closes the tab that
chromedp.go:692
↓ 1 callersFunctionWithDialTimeout
WithDialTimeout is an [Option] that sets the timeout for the dial of the websocket address of the browser. The default is ten seconds. Use a zero dura
remote/allocator.go:140
↓ 1 callersFunctionWithNewWindow
WithNewWindow chooses where a new tab opens. By default, the first Run of a context that creates a tab opens it in a new window, so that each tab is v
chromedp.go:670
↓ 1 callersFunctionWithPollingArgs
WithPollingArgs provides extra arguments to pass to the predicate.
poll.go:172
↓ 1 callersFunctionWithPollingInFrame
WithPollingInFrame sets the frame in which to evaluate the predicate. Without it, the action evaluates the predicate in the root page of the current t
poll.go:165
↓ 1 callersFunctionWithPollingInterval
WithPollingInterval polls the predicate at the given interval.
poll.go:140
↓ 1 callersFunctionWithPollingMutation
WithPollingMutation polls the predicate on every DOM mutation.
poll.go:148
↓ 1 callersFunctionY
()
testdata/twgl-full.min.js:6
↓ 1 callersFunction_e
(e,r,t)
testdata/twgl-full.min.js:6
↓ 1 callersFunctionadRelatedStateUpdated
(provenance *cdp.AdProvenance)
util.go:256
↓ 1 callersFunctionadoptedStyleSheetsModified
(ids []cdp.StyleSheetID)
util.go:265
↓ 1 callersFunctionaffectedByStartingStylesFlagUpdated
(affected bool)
util.go:274
↓ 1 callersFunctionallocateCmdOptions
(cmd *exec.Cmd)
allocate_linux.go:23
↓ 1 callersMethodallocateKeepOpen
allocateKeepOpen is Allocate for an allocator with KeepOpen.
keepopen.go:141
↓ 1 callersMethodappend
append calls the jsonv2.Marshal func on the value and appends the result to the slice. It records the first error. After an error, append does nothing
call.go:125
↓ 1 callersMethodattachTarget
(ctx context.Context, targetID target.ID)
chromedp.go:558
↓ 1 callersFunctionattributeModified
(name, value string)
util.go:116
↓ 1 callersFunctionattributeRemoved
(name string)
util.go:139
↓ 1 callersMethodattributeValueLocked
attributeValueLocked returns the named attribute. The caller must hold the lock of the node.
node.go:143
↓ 1 callersFunctionattributeValueTest
attributeValueTest returns a test for TestAttributeValue that selects the element with sel.
query_test.go:923
↓ 1 callersFunctionattributesAllTest
attributesAllTest returns a test for TestAttributesAll that selects the element with sel.
query_test.go:810
↓ 1 callersFunctionattributesTest
attributesTest returns a test for TestAttributes that selects the element with sel.
query_test.go:769
↓ 1 callersFunctionbyAttribute
byAttribute is a custom lookup like the example in the documentation of Selectable. It finds the elements that have an attribute with a value.
query_test.go:1823
↓ 1 callersFunctioncallFunctionOnNode
callFunctionOnNode calls the function with the node as its "this" value, and returns the decoded result.
query.go:607
↓ 1 callersFunctioncancelAfterFirst
cancelAfterFirst ranges over seq in a new goroutine. It calls cancel at the first event. The returned channel receives the error that ends the iterati
chromedp_test.go:597
↓ 1 callersFunctioncaptureUserDataDir
captureUserDataDir returns an option that stores the user data directory of the browser in *dir, so that a test can check that the allocator removes i
remote/websocket_test.go:35
↓ 1 callersFunctioncharacterDataModified
(characterData string)
util.go:160
↓ 1 callersFunctioncheckInViewport
checkInViewport returns ErrDragOutsideViewport when a point is outside the visual viewport.
drag.go:81
↓ 1 callersFunctioncheckTargets
checkTargets fatals if the browser behind the chromedp context has an unexpected number of pages (tabs).
chromedp_test.go:239
↓ 1 callersFunctionchildNodeCountUpdated
(count int64)
util.go:169
↓ 1 callersFunctionchildNodeInserted
(m map[cdp.NodeID]*Node, prevID cdp.NodeID, c *Node)
util.go:178
↓ 1 callersFunctionchildNodeRemoved
(m map[cdp.NodeID]*Node, id cdp.NodeID)
util.go:188
↓ 1 callersFunctionclearTest
clearTest returns a test for TestClear that selects the element with sel.
query_test.go:559
↓ 1 callersFunctionclickTest
clickTest returns a test for TestClick that selects the element with sel.
query_test.go:1040
↓ 1 callersFunctioncommentText
commentText returns the text of a comment without its markers. A line of code in a doc comment (gofmt indents it with a tab) and a directive become em
docs/docs_test.go:171
↓ 1 callersFunctioncomputedStyleTest
computedStyleTest returns a test for TestComputedStyle that selects the element with sel.
query_test.go:1201
↓ 1 callersFunctionconnectPipe
connectPipe makes a browser that talks to the process through pf, and waits for the first answer of the process. If the pipe closes first, it returns
allocate_pipe.go:190
↓ 1 callersMethodconnectWebSocket
connectWebSocket waits for the websocket address in the output of the browser, and connects to it.
allocate.go:465
↓ 1 callersFunctionconsoleCall
(e *runtime.EventConsoleAPICalled)
console.go:205
↓ 1 callersFunctionconsoleException
(e *runtime.EventExceptionThrown)
console.go:220
↓ 1 callersFunctionconsoleFormat
consoleFormat applies the format specifiers %s, %d, %i, %f, %o, %O, %c and %% of the format to the arguments. It returns the text and the number of ar
console.go:295
↓ 1 callersFunctionconsoleLog
(e *log.EventEntryAdded)
console.go:245
↓ 1 callersFunctionconsoleNested
(p *runtime.ObjectPreview)
console.go:436
↓ 1 callersFunctionconsoleNumber
consoleNumber renders an argument for %d, %i and %f.
console.go:340
↓ 1 callersFunctionconsolePropertyValue
(prop *runtime.PropertyPreview)
console.go:426
↓ 1 callersFunctiondecodeConsole
decodeConsole turns a tagged event into a message.
console.go:169
↓ 1 callersFunctiondecodeRune
decodeRune is a wrapper around parsing a printable c++ int/char definition to a unicode rune value.
kb/gen.go:136
↓ 1 callersMethoddeleteFlag
deleteFlag removes the flag name, if it is set.
allocate.go:719
← previousnext →301–400 of 912, ranked by callers