data class EvaluateRequest
(source)
Represents request frame that can be used with Runtime#evaluate operation call.
Evaluates expression on global object.
Link
Runtime#evaluate method documentation.
See Also
EvaluateRequest(expression: String, objectGroup: String? = null, includeCommandLineAPI: Boolean? = null, silent: Boolean? = null, contextId: ExecutionContextId? = null, returnByValue: Boolean? = null, generatePreview: Boolean? = null, userGesture: Boolean? = null, awaitPromise: Boolean? = null, throwOnSideEffect: Boolean? = null, timeout: TimeDelta? = null, disableBreaks: Boolean? = null)
Represents request frame that can be used with Runtime#evaluate operation call. |
val awaitPromise: Boolean?
Whether execution should |
|
val contextId: ExecutionContextId?
Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page. |
|
val disableBreaks: Boolean?
Disable breakpoints during execution. |
|
val expression: String
Expression to evaluate. |
|
val generatePreview: Boolean?
Whether preview should be generated for the result. |
|
val includeCommandLineAPI: Boolean?
Determines whether Command Line API should be available during the evaluation. |
|
val objectGroup: String?
Symbolic group name that can be used to release multiple objects. |
|
val returnByValue: Boolean?
Whether the result is expected to be a JSON object that should be sent by value. |
|
val silent: Boolean?
In silent mode exceptions thrown during evaluation are not reported and do not pause
execution. Overrides |
|
val throwOnSideEffect: Boolean?
Whether to throw an exception if side effect cannot be ruled out during evaluation.
This implies |
|
val timeout: TimeDelta?
Terminate execution after timing out (number of milliseconds). |
|
val userGesture: Boolean?
Whether execution should be treated as initiated by user in the UI. |