Releases: hardkoded/puppeteer-sharp
Releases · hardkoded/puppeteer-sharp
v1.14.1
v1.14
New Features
- e9f1ecd BigInteger support.
Changelog
- 9a82a81 Drop Mono dependency.
- 9c3cf6a Roll chromium to r641577.
- 4686eb9 Make sure frames are reported from-inside shadow DOM.
- 079309b Add a failing test that tries to click a fixed button in an iframe.
- 867677c Ensure Page.setBypassCSP works with iFrames.
- 87fd1df Sync Request.Continue tests.
- 453501a Public constructor for PaperFormat.
v1.13
Breaking Changes
- 54629a6 Response.Headers changed from
Dictionary<string, object>
toDictionary<string, string>
Changelog
- a11fa94 PdfOptions should be serializable.
- c428028 Bump chromium to r637110.
- bddf0fc SetCacheEnable and WaitFor test updates.
- 64b784e Input and target tests updates.
- bada611 Emulate and SetUserAgent test updates.
- 60a0ba6 ShouldEnableOrDisableTheCacheBasedOnTheStatePassed test improvements.
- 1b6d718 Exclude favicon from tests.
- c96e89b Disable flaky cookies test.
- 6e19161 Add failing for test for mobile + cross process navigation.
- 3bfaf8b RequestPostDataTests tests.
- cb33496 Update ConsoleMessage.Location comments.
- 749945c WaitForNavigationTests updates.
- 4eb1fcd Beforeunload tests updates.
- 69a129d New connect test.
- 1bacd6a CloseTests updates.
- a538fce SetRequestInterceptionTests changes.
- 06c9932 WaitForTests changes.
- 75fbb13 ElementHandlePress tests updates.
- 38089e9 ExposeFunction improvements.
- d74605d Launcher tests refactor.
- ea7fc34 Touchscreen tests improvements.
- 85dac55 Add failing test for bad request interception.
- b3cb17d Override Permissions tests changes.
- 26af946 Split out fixtures tests.
- 2ef86e3 Move some chromium specific tests.
- bdef51c Keyboards tests.
- 23a6434 Add page.accessibility.snapshot tests.
- e71b6e9 Test refactors.
- 6fe099f Cookies tests improvements.
- c8e2453 Click and Goto tests refactors.
- 9398dff Minor test changes.
- d432f02 Network tests refactor.
v1.12.1
v1.12
New Features
- c76e244 Introduce Popup event.
- e1571f6 Add browserUrl option to Puppeteer.ConnectAsync.
- 3683608 Introduce ConsoleMessage.Location.
- db2753d Implement support for mouseWheel (Mouse.WheelAsync).
- 2e59b1e Introduce Page.SetDefaultTimeout.
Breaking Changes
- 9b1a597 Provide default quality for jpeg screenshots.
Changelog
- ae2233f Roll Chromium to r624492
- 56f1237 Improve async loop in AddConsoleMessage.
- ff53a36 Relax request matching heuristic.
- 1d9bd66 Throw on 0x0 screenshots.
- 21f43f2 Make sure evaluation does not hang in detached iframes.
- fc66e5d Add failing test for skipping all debugger statements.
- 3d1816e Ignore console messages from destroyed execution contexts.
- e6c5528 Flexible ResourceType parse.
- 7e2a64d Properly disable translate UI.
- e4f1bd2 Filter out "intervention" header.
- 58f2b31 Fix repetitive setContent calls.
- 5139d88 Force color profile.
- 74deb46 Add test for waitForFunction with cross-process navigation.
- b1b8982 Make sure headful browser closes with beforeuload page.
- 2d252a2 Page.WaitForFunctionAsync should work with multiline strings.
- 1f4a71d Update device descriptors.
- 2e687fc Round the clip dimensions.
- 749b9a9 Enable Network Service by default.
- 9d24cdb Warn on nested js handle.
- 9cff529 Move to flatten protocol.
- 0584284 Introduce DOM World.
- 4271b97 Use secondary DOMWorld to drive page.Select.
- 7a1de99 Always dispose cancellation token sources.
- 73f7ea8 Use secondary world to drive clicks.
- 3c03f62 Sync WaitForSelectorOrXPathAsync code.
- f33e5fd Teach waitForSelector to return null.
- 3e08289 Alternative approach to fixing KeyAlreadyAddedException.
- 69798e4 Fix race condition between disposal and cancellation of CancellationTokenSource.
- ca42f10 Execute frame.waitFor{Selector,XPath} in secondary world.
v1.11.2
ChangeLog
- 61fbd27 No need to fix file permissions on Mac.
- 02efcdd Fix race conditions in SetContentAsync.
- 56dffd1 Add missing ConfigureAwait in Accessibility.
- 82a9b33 Set headless option to false when Devtools are enabled.
- 72f8a91 CloseAsync should wait for the target to be closed.
- 9e11c6f Change TextAsync output type.
- 804fb6f Browser.IsClosed should be true when the connection is closed.
Internal Changes
- 079b013 a3f809f 0bda7f9 Add classes to all Request/Response communications.
- 9cb7ecf Connection messages should be dispatched synchronously.
- e3499b3 Add TaskCreationOptions.RunContinuationsAsynchronously to TaskCompletionSources.
- b779f18 Remove Task.Delays.
- e31a3fa Dispose CancellationTokens.
- d61fe13 Add TaskCreationOptions.LongRunning to the WebSocketTransport loop.
- 3c093e4 Fix race condition in CloseAsync.
- cb8ff5c b9688e0 96af36e f11be1f 1a6b865 38e6c42 1d54130 Prevent race conditions in tests.
- 1dabf1f Fix minor typo in XML docs.
- 82fd27e Upgrade .NET Core projects to 2.2.
- 89d3af9 Upgrade to C# 7.3.
- f5e48af Replace timeouts with CancellationTokens.
v1.11.1
v1.11
New Features
Breaking Changes
- 0c42e64 IConnection.Closed, Connection.Closed and CDPSeccion.Closed events were renamed to
Disconnected
. - e3dfdf1 An IConnectionTransport now needs to implement
Task InitializeAsync(string url, IConnectionOptions connectionOptions, ILoggerFactory loggerFactory = null)
.
Changelog
v1.10
New Features
- 6375671 Snapshot the accessibility tree.
New APIs
- 92cc6c7 Browser.WaitForTargetAsync.
- e55dc2e CDPSession.CloseReason, Connection.CloseReason.
- 6bfb270 Camel Case the world.
JToken.ToObject<T>(bool camelCase)
.
Breaking Changes
- ce7f7a8
Page.Frames
now is based on aConcurrentDictionary
. With this change, the Frame order is no longer guaranteed. - 5986642 Payload.PostData is now a string (as it was supposed to be).
- e55dc2e Improve internal exception handling. Now puppeteer-sharp will close the CDPSession or the Connection if puppeteer fails to process a message.
- 45880a9 BufferAsync should work with binaries.
Changelog
v1.9
New Features
- f764ff3 Introducing Burst mode.
var screenShotOptions = new ScreenshotOptions
{
FullPage = true,
BurstMode = true
};
await page.GoToAsync("https://www.google.com");
for(var x = 0; x < 100; x++)
{
await page.ScreenshotBase64Async(screenShotOptions);
}
await page.SetBurstModeOffAsync();
New APIs
- f764ff3 ScreenshotOptions.BurstMode and Page.SetBurstModeOff.
- 48df933 Browser.Target.
- 19ad79e ConnectOptions/LaunchOptions.Transport and ConnectionOptions/LaunchOptions.EnqueueTransportMessages.
- 19ad79e Frame.GoToAsync, Frame.NavigateAsync and Frame.WaitForFrameNavigationAsync
Breaking Changes
Evaluate changes d4c5d05
EvaluateFunctionAsync
and EvaluateExpressionAsync
won't try to infer the output type when used without generics. It will return a ** JToken** instead.
A piece of code like this:
int x = page.EvaluateExpressionAsync("1");
Will need to be replaced by one of these two options:
int x = page.EvaluateExpressionAsync<int>("1");
int x = page.EvaluateExpressionAsync("1").ToObject<int>();
Changelog
- b4801cc Bump the version of chromium to 594312.
- 81a9653 Add failing test for page.select.
- 37338c8 Fixed windows fetching.
- 8a9fbc5 Fix description of SecurityDetails class.
- f4465f7 Add zero width element test.
- 94284dc Add missing configure awaits.
- d20a35d Fix full page screenshot when defaultViewport is null.
- 1219913 Unify response tracking in page.goto and waitForNavigation.
- c51fab4 Don't wait for Runtime.Evaluate.
- 7a5b155 Browser closing/disconnecting should abort navigations.
- 972cc61 Expect Network.responseReceived event is never dispatched.
- 8562870 Set JPG background to white when omitBackground option is used.
- ee4224a Concurrency improvements.
- 1c7dfcf Check if frame exists before creating a Request.