Adds a script that will be executed when new documents are created within the page.
This is useful for modifying the JavaScript environment of the page.
Example: addInitScript(options: { content: "window.customVar = 123;" })
Returns true if the script was successfully scheduled.