Skip to content
Snippets Groups Projects
Commit a1e8bc26 authored by brewdente's avatar brewdente
Browse files

The example app now uses the network enable command. Fixing formatting.

parent 89120e20
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ namespace AutoWebPerf
var chromeSessionFactory = new ChromeSessionFactory();
var chromeSession = chromeSessionFactory.Create(endpointUrl);
var pageEnableResult = chromeSession.SendAsync<ChromeDevTools.Protocol.Page.EnableCommand>().Result;
var pageEnableResult = chromeSession.SendAsync<ChromeDevTools.Protocol.Network.EnableCommand>().Result;
chromeSession.Subscribe<ChromeDevTools.Protocol.Network.ResponseReceivedEvent>((o, e) =>
{
Console.WriteLine("Response Received");
......
......@@ -13,7 +13,9 @@ namespace ChromeDevTools
Task<string[]> GetSessions();
DirectoryInfo UserDirectory { get; }
Process Process { get; }
string RemoteDebuggingUri { get; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment