 | WebDriverExtensionsSwitchToWindowUsingUrl Method |
Framework to automate tests using Selenium WebDriver
Switch to existing window using url.
Namespace: Ocaramba.ExtensionsAssembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.4
Syntaxpublic static void SwitchToWindowUsingUrl(
this IWebDriver webDriver,
Uri url,
double timeout
)
Request Example
Parameters
- webDriver IWebDriver
- The web driver.
- url Uri
- The url.
- timeout Double
- The timeout.
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).
See Also