ITracing
Namespace: PuppeteerSharp
public interface ITracingYou can use StartAsync(TracingOptions) and StopAsync() to create a trace file which can be opened in Chrome DevTools or timeline viewer.
Derived: Tracing
Example
await Page.Tracing.StartAsync(new TracingOptions{ Screenshots = true, Path = _file});await Page.GoToAsync(TestConstants.ServerUrl + "/grid.html");await Page.Tracing.StopAsync();Made with love by Dario Kondratiuk