MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / CanPrintTwoPages

Method CanPrintTwoPages

dotnet/test/webdriver/PrintTests.cs:46–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 [Test]
47 public void CanPrintTwoPages()
48 {
49 var options = new PrintOptions();
50
51 options.AddPageRangeToPrint("1-2");
52
53 var pdf = printer.Print(options);
54
55 Assert.That(pdf.AsBase64EncodedString, Does.Contain(MagicString));
56 }
57
58 [Test]
59 public void CanPrintWithMostParams()

Callers

nothing calls this directly

Calls 2

AddPageRangeToPrintMethod · 0.80
PrintMethod · 0.45

Tested by

no test coverage detected