pl.wendigo.chrome.api.page / ReloadRequest

ReloadRequest

data class ReloadRequest (source)

Represents request frame that can be used with Page#reload operation call.

Reloads given page optionally ignoring the cache.

Link
Page#reload method documentation.

See Also

PageOperations.reload

Constructors

<init>

ReloadRequest(ignoreCache: Boolean? = null, scriptToEvaluateOnLoad: String? = null)

Represents request frame that can be used with Page#reload operation call.

Properties

ignoreCache

val ignoreCache: Boolean?

If true, browser cache is ignored (as if the user pressed Shift+refresh).

scriptToEvaluateOnLoad

val scriptToEvaluateOnLoad: String?

If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.