com.github.markusbernhardt.selenium2library.locators
Class WindowManager

java.lang.Object
  extended by com.github.markusbernhardt.selenium2library.locators.WindowManager

public class WindowManager
extends Object


Nested Class Summary
protected static interface WindowManager.Matcher
           
protected static class WindowManager.SelectCoordinates
           
 
Field Summary
static int WINDOW_INFO_INDEX_DOCUMENT_TITLE
           
static int WINDOW_INFO_INDEX_DOCUMENT_URL
           
static int WINDOW_INFO_INDEX_WINDOW_ID
           
static int WINDOW_INFO_INDEX_WINDOW_NAME
           
 
Constructor Summary
WindowManager()
           
 
Method Summary
protected static List<String> getCurrentWindowInfo(org.openqa.selenium.WebDriver webDriver)
           
static List<String> getWindowIds(org.openqa.selenium.WebDriver webDriver)
           
static List<List<String>> getWindowInfos(org.openqa.selenium.WebDriver webDriver)
           
static List<String> getWindowNames(org.openqa.selenium.WebDriver webDriver)
           
static List<String> getWindowTitles(org.openqa.selenium.WebDriver webDriver)
           
protected static com.github.markusbernhardt.selenium2library.locators.WindowManager.WindowManagerStrategy parseLocator(WindowManager.SelectCoordinates selectCoordinates, String locator)
           
static void select(org.openqa.selenium.WebDriver webDriver, String locator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOW_INFO_INDEX_WINDOW_ID

public static int WINDOW_INFO_INDEX_WINDOW_ID

WINDOW_INFO_INDEX_WINDOW_NAME

public static int WINDOW_INFO_INDEX_WINDOW_NAME

WINDOW_INFO_INDEX_DOCUMENT_TITLE

public static int WINDOW_INFO_INDEX_DOCUMENT_TITLE

WINDOW_INFO_INDEX_DOCUMENT_URL

public static int WINDOW_INFO_INDEX_DOCUMENT_URL
Constructor Detail

WindowManager

public WindowManager()
Method Detail

getWindowIds

public static List<String> getWindowIds(org.openqa.selenium.WebDriver webDriver)

getWindowNames

public static List<String> getWindowNames(org.openqa.selenium.WebDriver webDriver)

getWindowTitles

public static List<String> getWindowTitles(org.openqa.selenium.WebDriver webDriver)

getWindowInfos

public static List<List<String>> getWindowInfos(org.openqa.selenium.WebDriver webDriver)

select

public static void select(org.openqa.selenium.WebDriver webDriver,
                          String locator)

parseLocator

protected static com.github.markusbernhardt.selenium2library.locators.WindowManager.WindowManagerStrategy parseLocator(WindowManager.SelectCoordinates selectCoordinates,
                                                                                                                       String locator)

getCurrentWindowInfo

protected static List<String> getCurrentWindowInfo(org.openqa.selenium.WebDriver webDriver)


Copyright © 2013. All Rights Reserved.