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

Method CanSetCustomPageSize

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

Source from the content-addressed store, hash-verified

143 }
144
145 [Test]
146 public void CanSetCustomPageSize()
147 {
148 var options = new PrintOptions();
149 var customPageSize = new PrintOptions.PageSize { Width = 25.0, Height = 30.0 };
150
151 options.PageDimensions = customPageSize;
152
153 Assert.That(options.PageDimensions.Width, Is.EqualTo(25.0));
154 Assert.That(options.PageDimensions.Height, Is.EqualTo(30.0));
155 }
156
157}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected