Represents a Chromium process and any associated temporary user data directory that have createdīy Puppeteer and therefore must be cleaned up when no longer needed.
PlaybackRate = Convert.ToInt32(aybackRate / 2) JObject response = await client.SendAsync("Animation.getPlaybackRate") Ĭonsole.WriteLine("playback rate is " + aybackRate) Īwait client.SendAsync("tPlaybackRate", new var client = await () Īwait client.SendAsync("Animation.enable") Protocol events, using the MessageReceived event.ĭocumentation on DevTools Protocol can be found here.Protocol methods can be called with SendAsync(String, Object, Boolean) method.The CDPSession instances are used to talk raw Chrome Devtools Protocol: BrowserFetcherOptionsīrowser fetcher options used to construct a BrowserFetcher CDPSession The method NewPageAsync() creates a IPage in the default IBrowserContext BrowserFetcherīrowserFetcher can download and manage different versions of Chromium.īrowserFetcher operates on revision strings that specify a precise version of Chromium, e.g. When a browser is launched, it hasĪ single IBrowserContext used by default.
BrowserContextīrowserContexts provide a way to operate multiple independent browser sessions. Provides methods to interact with a browser in Chromium. BoundingBoxīounding box data returned by BoundingBoxAsync(). Options used by AddScriptTagAsync(AddTagOptions) & AddStyleTagAsync(AddTagOptions).