← Back to Browser domain

Browser.getBrowserCommandLine

Returns the command line switches for the browser process if, and only if --enable-automation is on the commandline.

Domain: Browser experimental

Returns

NameTypeDescription
argumentsarrayCommandline parameters

Example Request

{
  "id": 1,
  "method": "Browser.getBrowserCommandLine"
}

Example Response

{
  "id": 1,
  "result": {
    "arguments": []
  }
}

Usage in Node.js

const result = await send('Browser.getBrowserCommandLine');
console.log(result);
// {"arguments": []}