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

Method LocalSetUp

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

Source from the content-addressed store, hash-verified

26 private ISupportsPrint printer;
27
28 [SetUp]
29 public void LocalSetUp()
30 {
31 Assert.That(Driver, Is.InstanceOf<ISupportsPrint>(), $"Driver does not support {nameof(ISupportsPrint)}.");
32
33 printer = Driver as ISupportsPrint;
34
35 Driver.Navigate().GoToUrl(Urls.PrintPage);
36 }
37
38 [Test]
39 public void CanPrintPage()

Callers

nothing calls this directly

Calls 2

GoToUrlMethod · 0.45
NavigateMethod · 0.45

Tested by

no test coverage detected