Skip to content

Releases: microsoft/playwright-dotnet

v0.151.0

20 Oct 13:09
afacf03
Compare
Choose a tag to compare

New Features

Video screencasts API is now stable: Use the videosPath option while creating browser contexts to record videos for all pages within the context.

// With browser.NewContextAsync()
var context = await browser.NewContextAsync(videosPath: "videos/");

// With browser.NewPageAsync()
var page = await browser.NewPageAsync(videosPath: "videos/");

// [Optional] Specify video size; defaults to viewport size
var context = await browser.NewContextAsync(
    videosPath: "videos/",
    videoSize: new ViewportSize { Width = 800, Height = 600 }
);

New APIs

  • Browser.NewPageAsync(), Browser.NewContextAsync() and BrowserType.LaunchPersistentContextAsync() now support videosPath and videoSize option.
  • New Page.Video property.
  • New Video class
  • New BrowserContext.Browser property.
  • Both BrowserContext.ExposeBindingAsync() and Page.ExposeBindingAsync() now accept a Func<BindingSource, IJSHandle, TResult> to received IJSHandle instead of of serialized values.

Changelog

  • Driver updated to v0.151.0. See v0.150.0 and v0.151.0 changelogs.
  • Connection won't timeout pending tasks.

v0.142.2

10 Oct 17:30
708a02f
Compare
Choose a tag to compare

Changelog

  • Fix the PaperFormat used by Page.GetPdfAsync. The driver expects a string instead of an object.

v0.142.1

09 Oct 12:39
ee15c39
Compare
Choose a tag to compare

CHANGELOG

  • Fix dependency check when using Playwright Sharp in IIS.
  • Capture driver logs and send them under the PlaywrightSharp.Playwright category.

v0.142.0

06 Oct 22:51
0f6a1a7
Compare
Choose a tag to compare

This version is full feature match with Playwright v1.4.2

v0.111.2

06 Sep 20:39
2dc5d44
Compare
Choose a tag to compare
Embedded drivers (#830)

* Fix install location

* embedded

v0.111.0

06 Sep 12:54
bc5d7d3
Compare
Choose a tag to compare

v0.111.0 matches Playwright v1.1.1