Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ CanPrintPage
Method
CanPrintPage
dotnet/test/webdriver/PrintTests.cs:38–44 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
}
37
38
[Test]
39
public void CanPrintPage()
40
{
41
var pdf = printer.Print(new PrintOptions());
42
43
Assert.That(pdf.AsBase64EncodedString, Does.Contain(MagicString));
44
}
45
46
[Test]
47
public void CanPrintTwoPages()
Callers
nothing calls this directly
Calls
1
Print
Method · 0.45
Tested by
no test coverage detected