← Back to Page domain

Page.removeScriptToEvaluateOnNewDocument

Removes given script from the list.

Domain: Page stable

Parameters

NameTypeDescription
identifierScriptIdentifier

Example Request

{
  "id": 1,
  "method": "Page.removeScriptToEvaluateOnNewDocument",
  "params": {
    "identifier": "identifier-value"
  }
}

Example Response

{
  "id": 1,
  "result": {}
}

Usage in Node.js

const result = await send('Page.removeScriptToEvaluateOnNewDocument', {"identifier": "identifier-value"});
console.log(result);