Documentation
¶
Overview ¶
Package findinpage provides the Chrome DevTools Protocol commands, types, and events for the FindInPage domain.
This domain provides commands to trigger the "Find in page" feature.
Generated by the pdlgen command.
Index ¶
Constants ¶
const ( CommandFindFirst = "FindInPage.findFirst" CommandFindNext = "FindInPage.findNext" CommandFindPrev = "FindInPage.findPrev" CommandStop = "FindInPage.stop" )
Command names.
Variables ¶
var FindFirst = cdp.Command[FindFirstParams, cdp.Empty]{Method: CommandFindFirst}
FindFirst forwards query to the find-in-page facility, starting a new find session. Where exactly the search starts from is implementation-specific.
See: https://chromedevtools.github.io/devtools-protocol/tot/FindInPage#method-findFirst
var FindNext = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandFindNext}
FindNext moves to the next match for the query passed to the most recent findFirst() call.
See: https://chromedevtools.github.io/devtools-protocol/tot/FindInPage#method-findNext
var FindPrev = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandFindPrev}
FindPrev moves to the previous match for the query passed to the most recent findFirst() call.
See: https://chromedevtools.github.io/devtools-protocol/tot/FindInPage#method-findPrev
var Stop = cdp.Command[cdp.Empty, cdp.Empty]{Method: CommandStop}
Stop ends the current find session, if any, and clears its highlighting.
See: https://chromedevtools.github.io/devtools-protocol/tot/FindInPage#method-stop
Functions ¶
This section is empty.
Types ¶
type FindFirstParams ¶
type FindFirstParams struct {
Query string `json:"query"`
}
FindFirstParams are the parameters of the command FindInPage.findFirst.