|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWindowManager
| Method Summary | |
|---|---|
void |
addWindow(WmProtos.WindowInfo window)
|
void |
clearFilter()
|
void |
closeAllWindows()
|
void |
closeWindow(int windowId)
|
void |
filterActiveWindow()
|
void |
filterWindow(java.lang.Integer windowId)
|
void |
findDriverWindow()
Find a window suitable for driving, find the active window, if it is not a normal window, find the first normal window via JXPath. |
int |
getActiveWindowId()
|
java.util.concurrent.atomic.AtomicInteger |
getLastHttpResponseCode()
|
int |
getOpenWindowCount()
|
java.util.List<java.lang.Integer> |
getWindowHandles()
|
void |
init()
Get the list of all windows, then find a driver window (which needs to be 'normal' window) after that set the active window to that window. |
void |
openUrl(int windowId,
java.lang.String url)
|
void |
removeWindow(java.lang.Integer windowId)
|
void |
resetWindowsList()
|
void |
setActiveWindow(java.lang.String title)
|
void |
setActiveWindowId(java.lang.Integer windowId)
Sets the active window if the window is of type 'normal' discards any other window such as 'dialog' or 'unknown'. |
| Method Detail |
|---|
void setActiveWindowId(java.lang.Integer windowId)
int getActiveWindowId()
void addWindow(WmProtos.WindowInfo window)
void removeWindow(java.lang.Integer windowId)
void filterActiveWindow()
void closeAllWindows()
void init()
void findDriverWindow()
WebDriverException - if no window is available for drivingvoid setActiveWindow(java.lang.String title)
java.util.List<java.lang.Integer> getWindowHandles()
int getOpenWindowCount()
java.util.concurrent.atomic.AtomicInteger getLastHttpResponseCode()
void resetWindowsList()
void clearFilter()
void filterWindow(java.lang.Integer windowId)
void openUrl(int windowId,
java.lang.String url)
void closeWindow(int windowId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||