runScript
Runs script with given id in a given context.
Runs script with given id in a given context.
Parameters
Id of the script to run.
Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page.
Symbolic group name that can be used to release multiple objects.
In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException
state.
Determines whether Command Line API should be available during the evaluation.
Whether the result is expected to be a JSON object which should be sent by value.
Whether preview should be generated for the result.
Whether execution should await
for resulting value and return once awaited promise is resolved.