Options
All
  • Public
  • Public/Protected
  • All
Menu

settings to customize injected script execution. For more details, see IPageRequest.scripts and [IScriptPjscMeta]

Hierarchy

  • IScriptSettings

Index

Properties

Properties

Optional async

async: boolean

new for Chrome backend. (not available on WebKit). set to true to load your scripts in a phase asynchronously.

This offers better performance but scripts must be designed to run in this way.

Also note: if set to true, only scripts inside the same IPageEventPhase will run at the same time. We always make sure scripts from prior phases finish before starting the next phase.

default

false

Optional stopOnError

stopOnError: boolean

if true and your script errors, processing will abort. default false.