findinpage

package
v0.159.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT Imports: 1 Imported by: 0

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

View Source
const (
	CommandFindFirst = "FindInPage.findFirst"
	CommandFindNext  = "FindInPage.findNext"
	CommandFindPrev  = "FindInPage.findPrev"
	CommandStop      = "FindInPage.stop"
)

Command names.

Variables

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

View Source
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

View Source
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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址