We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e965e commit 146a437Copy full SHA for 146a437
lib/PuppeteerSharp.Tests/PageTests/EvaluateTests.cs
@@ -289,6 +289,16 @@ public async Task ShouldNotThrowAnErrorWhenEvaluationDoesANavigation()
289
Assert.Equal(new[] { 42 }, result);
290
}
291
292
+ /// <summary>
293
+ /// Original Name "should transfer 100Mb of data from page to node.js"
294
+ /// </summary>
295
+ [Fact]
296
+ public async Task ShouldTransfer100MbOfDataFromPage()
297
+ {
298
+ var a = await Page.EvaluateFunctionAsync<string>("() => Array(100 * 1024 * 1024 + 1).join('a')");
299
+ Assert.Equal(100 * 1024 * 1024, a.Length);
300
+ }
301
+
302
[Fact]
303
public async Task ShouldWorkWithDifferentSerializerSettings()
304
{
0 commit comments