Package oit.utilities
Class SwitchToNewWindow
java.lang.Object
oit.utilities.SwitchToNewWindow
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoid
-
Field Details
-
driver
public static org.openqa.selenium.WebDriver driver
-
-
Constructor Details
-
SwitchToNewWindow
public SwitchToNewWindow(org.openqa.selenium.WebDriver driver)
-
-
Method Details
-
switchToChildWindow
public void switchToChildWindow() -
backToParentWindow
public void backToParentWindow() -
closeChildBackToParent
- Throws:
InterruptedException
-