public class WindowManager extends Object
Constructor and Description |
---|
WindowManager() |
Modifier and Type | Method and Description |
---|---|
void |
addWindow(String key,
String windowHandle) |
void |
clear()
Clear loaded windows
|
static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
clickCanBeDoneWithoutAlertOnElement(org.openqa.selenium.WebElement element)
Deprecated.
As of release 4.1, replaced by
NoraUiExpectedConditions.clickCanBeDoneWithoutAlertOnElement(WebElement)
Click can be done without alert on Element. |
static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> |
clickCanBeDoneWithoutAlertOnElementLocated(org.openqa.selenium.By locator)
Deprecated.
As of release 4.1, replaced by
NoraUiExpectedConditions.clickCanBeDoneWithoutAlertOnElementLocated(By)
click can be done without alert on element located. |
String |
getMainWindow() |
String |
getWindow(String key) |
Map<String,String> |
getWindows() |
static org.openqa.selenium.support.ui.ExpectedCondition<String> |
newWindowOpens(Set<String> currentHandles)
Deprecated.
As of release 4.1, replaced by
NoraUiExpectedConditions.newWindowOpens(Set) |
void |
removeWindow(String key) |
void |
setMainWindow(String window) |
public String getMainWindow()
public void setMainWindow(String window)
public void removeWindow(String key)
public void clear()
@Deprecated public static org.openqa.selenium.support.ui.ExpectedCondition<String> newWindowOpens(Set<String> currentHandles)
NoraUiExpectedConditions.newWindowOpens(Set)
currentHandles
- is list of opened windows.@Deprecated public static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> clickCanBeDoneWithoutAlertOnElement(org.openqa.selenium.WebElement element)
NoraUiExpectedConditions.clickCanBeDoneWithoutAlertOnElement(WebElement)
Click can be done without alert on Element.element
- is target WebElement.@Deprecated public static org.openqa.selenium.support.ui.ExpectedCondition<Boolean> clickCanBeDoneWithoutAlertOnElementLocated(org.openqa.selenium.By locator)
NoraUiExpectedConditions.clickCanBeDoneWithoutAlertOnElementLocated(By)
click can be done without alert on element located.locator
- is the selenium locatorCopyright © 2023 NoraUi. All rights reserved.