data class AddScriptToEvaluateOnNewDocumentRequest
(source)
Represents request frame that can be used with Page.addScriptToEvaluateOnNewDocument method call.
Evaluates given script in every frame upon creation (before loading frame's scripts).
AddScriptToEvaluateOnNewDocumentRequest(source: String, worldName: String? = null)
Represents request frame that can be used with Page.addScriptToEvaluateOnNewDocument method call. |
val source: String |
|
val worldName: String?
If specified, creates an isolated world with the given name and evaluates given script in it. This world name will be used as the ExecutionContextDescription::name when the corresponding event is emitted. |