github microsoft/playwright-dotnet v0.170.0

latest releases: v1.43.0, v1.42.0, v1.41.2...
3 years ago

Driver update

Driver updated to v.0.170.0. See playwright changelog v1.7.0.

New APIs

  • New method BrowserContext.GetStorageStateAsync() to get current state for later reuse.
  • New options where added to Browser.NewContextAsync and Browser.NewPageAsync.
    • proxy: Network proxy settings to use with this context.
    • storageState: Populates context with given storage state.
    • storageStatePath: Loads a storage state from a JSON file.

Possible breaking changes

  • a388277 If you use AddScriptTagAsync with named arguments the content argument was renamed to script.
  • a388277 If you use AddStyleTagAsync with named arguments the content argument was renamed to style.

Changelog

  • 4487dee Fixed Response.Ok. It should return true if the HttpStatusCode is between 200 and 299.
  • 857d919 Improved error message if browsers are missing.
  • e45ef99 Added close reason in transport exceptions.
  • 5b0ad49 Improved driver deploy on Xamarin.Mac apps.
  • c8425a9 Improved driver deploy on Mono.
  • 3d04eaa Fixed WebSocketEventArgs.WebSocket visibility.
  • 8fa18ee Fixed ChromiumBrowserType overloads.

Don't miss a new playwright-dotnet release

NewReleases is sending notifications on new releases.