v0.170.0
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
andBrowser.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 thecontent
argument was renamed toscript
. - a388277 If you use
AddStyleTagAsync
with named arguments thecontent
argument was renamed tostyle
.
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.