We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello: I don't quite understand your README.md file. You mentioned "protocol definition file", I think, maybe you mean this file: https://github.com/ChromeDevTools/devtools-protocol/blob/master/json/browser_protocol.json From this file, I can see the latest browser_protocol is version 1.3. But the code from this url is not working any more: cyrus-and/chrome-remote-interface#10 (comment) If I understand correctly, you need browser_protocol.json and js_protocol.json two Json files. Then you can simply use the following code to download them. I hope the URLs can stay that way longer. #18 `class Program { private const string browser_protocol = @"https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/browser_protocol.json"; private const string js_protocol = @"https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/js_protocol.json"; private const string protocol_folder = @"C:\Temp\ProtocolFiles";
static void Main() { WebClient webClient = new WebClient(); webClient.DownloadFile(browser_protocol, protocol_folder + "browser_protocol.json"); webClient.DownloadFile(js_protocol, protocol_folder + "js_protocol.json"); } } ` Please advice if I am correct in understanding your code. Thanks,
The text was updated successfully, but these errors were encountered:
Chromium can provide a CDP definition in JSON form at runtime.
#17
Sorry, something went wrong.
No branches or pull requests
Hello:
I don't quite understand your README.md file.
You mentioned "protocol definition file", I think, maybe you mean this file:
https://github.com/ChromeDevTools/devtools-protocol/blob/master/json/browser_protocol.json
From this file, I can see the latest browser_protocol is version 1.3.
But the code from this url is not working any more:
cyrus-and/chrome-remote-interface#10 (comment)
If I understand correctly, you need browser_protocol.json and js_protocol.json two Json files.
Then you can simply use the following code to download them. I hope the URLs can stay that way longer. #18 `class Program
{
private const string browser_protocol =
@"https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/browser_protocol.json";
private const string js_protocol =
@"https://raw.githubusercontent.com/ChromeDevTools/devtools-protocol/master/json/js_protocol.json";
private const string protocol_folder =
@"C:\Temp\ProtocolFiles";
static void Main()
{
WebClient webClient = new WebClient();
webClient.DownloadFile(browser_protocol, protocol_folder + "browser_protocol.json");
webClient.DownloadFile(js_protocol, protocol_folder + "js_protocol.json");
}
}
`
Please advice if I am correct in understanding your code.
Thanks,
The text was updated successfully, but these errors were encountered: