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

Method Maximize

dotnet/test/webdriver/WindowTests.cs:227–234  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225 }
226
227 private void Maximize()
228 {
229 IWindow window = Driver.Manage().Window;
230 Size currentSize = window.Size;
231 window.Maximize();
232 WaitFor(WindowHeightToBeGreaterThan(currentSize.Height), "Window height was not greater than " + currentSize.Height.ToString());
233 WaitFor(WindowWidthToBeGreaterThan(currentSize.Width), "Window width was not greater than " + currentSize.Width.ToString());
234 }
235
236 private void ChangeSizeTo(Size targetSize)
237 {

Callers 1

SetupMethod · 0.45

Calls 2

ManageMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected