-
public final class AddScriptToEvaluateOnNewDocumentRequestRequest object containing input parameters for the PageDomain.addScriptToEvaluateOnNewDocument command.
-
-
Constructor Summary
Constructors Constructor Description AddScriptToEvaluateOnNewDocumentRequest(String source, String worldName)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final Stringcomponent2()final AddScriptToEvaluateOnNewDocumentRequestcopy(String source, String worldName)final StringgetSource()final StringgetWorldName()If specified, creates an isolated world with the given name and evaluates given script in it. -
-
Method Detail
-
component1
final String component1()
-
component2
final String component2()
-
copy
final AddScriptToEvaluateOnNewDocumentRequest copy(String source, String worldName)
-
getWorldName
final String getWorldName()
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.
-
-
-
-