Click or drag to resize
Ranorex

IWebDriverExtensionsMaximize Method

Maximizes the browser window associated with this driver instance.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Plugin.WebDriver (in Ranorex.Plugin.WebDriver.dll) Version: 12.7.4-git.38314c06
Syntax
public static void Maximize(
	this IWebDriver driver
)

Parameters

driver
Type: IWebDriver
The driver instance

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IWebDriver. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentNullExceptionif driver is null
Remarks
This method is not supported by all browsers and/or selenium vendors/versions.
See Also