Skip to content

Commit a108d99

Browse files
committed
Add example how to print 7.. pages
1 parent cf93f36 commit a108d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/dotnet/SeleniumDocs/BiDi/BrowsingContext/BrowsingContextTest.Print.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public async Task PrintPage()
1111
{
1212
var context = await driver.AsBidirectionalContextAsync();
1313

14-
var pdf = await context.PrintAsync(new() { PageRanges = [1, 2, new(3, 5)] });
14+
var pdf = await context.PrintAsync(new() { PageRanges = [1, 2, 3..5, new(3, 5), 7..] });
1515

1616
Assert.IsNotNull(pdf);
1717
Assert.IsNotNull(pdf.Data);

0 commit comments

Comments
 (0)