 | 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
Syntaxpublic static void Maximize(
this IWebDriver driver
)
<ExtensionAttribute>
Public Shared Sub Maximize (
driver As IWebDriver
)
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| Exception | Condition |
|---|
| ArgumentNullException | if driver is null |
Remarks
This method is not supported by all browsers and/or selenium vendors/versions.
See Also