()
| 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() |