pl.wendigo.chrome.domain.page / SearchInResourceRequest

SearchInResourceRequest

data class SearchInResourceRequest (source)

Represents request frame that can be used with Page.searchInResource method call.

Searches for given string in resource content.

Constructors

<init>

SearchInResourceRequest(frameId: FrameId, url: String, query: String, caseSensitive: Boolean? = null, isRegex: Boolean? = null)

Represents request frame that can be used with Page.searchInResource method call.

Properties

caseSensitive

val caseSensitive: Boolean?

If true, search is case sensitive.

frameId

val frameId: FrameId

Frame id for resource to search in.

isRegex

val isRegex: Boolean?

If true, treats string parameter as regex.

query

val query: String

String to search for.

url

val url: String

URL of the resource to search in.