public class WindowsHandler
extends java.lang.Object
| Constructor and Description |
|---|
WindowsHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
saveBeforePopup(org.openqa.selenium.WebDriver driver) |
static void |
switchBackAfterPopup(org.openqa.selenium.WebDriver driver)
Switches back to previous window.
|
static boolean |
switchToPopup(org.openqa.selenium.WebDriver driver)
Switches to top level browser window.
|
public static void saveBeforePopup(org.openqa.selenium.WebDriver driver)
public static boolean switchToPopup(org.openqa.selenium.WebDriver driver)
driver - WebDriver instancepublic static void switchBackAfterPopup(org.openqa.selenium.WebDriver driver)
driver - WebDriver instance