getBrowserCommandLine method

Future<List<String>> getBrowserCommandLine()

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

Implementation

Future<List<String>> getBrowserCommandLine() async {
  var result = await _client.send('Browser.getBrowserCommandLine');
  return (result['arguments'] as List).map((e) => e as String).toList();
}