Browser.getBrowserCommandLineReturns the command line switches for the browser process if, and only if --enable-automation is on the commandline.
| Name | Type | Description |
|---|---|---|
arguments | array | Commandline parameters |
{
"id": 1,
"method": "Browser.getBrowserCommandLine"
}
{
"id": 1,
"result": {
"arguments": []
}
}
const result = await send('Browser.getBrowserCommandLine');
console.log(result);
// {"arguments": []}