INNER CODE UNIT · JavaScript
version
cyrus-and/chrome-remote-interface · bin/client.js:207
function version(options) {
CDP.Version(options, (err, info) => {
if (err) {
console.error(err.toString());
process.exit(1);
}
console.log(toJSON(info));
});
}
function protocol(args, options) {
options.local = args.local;
CDP.Protocol(options, (err, protocol) => {
if (err) {
console.error(err.toString());
process.exit(1);
}
console.log(toJSON(protocol));