Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.locator.window
Class WindowNameLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
      extended by org.jboss.arquillian.ajocado.locator.window.AbstractWindowLocator<WindowNameLocator>
          extended by org.jboss.arquillian.ajocado.locator.window.WindowNameLocator
All Implemented Interfaces:
Locator<WindowNameLocator>, WindowLocator<WindowNameLocator>, SeleniumRepresentable

public class WindowNameLocator
extends AbstractWindowLocator<WindowNameLocator>

The locator for referencing window by name

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
WindowNameLocator(String name)
          Construct new locator for referencing windows by name
 
Method Summary
 WindowLocationStrategy getLocationStrategy()
          Returns the location strategy for this element
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.AbstractLocator
format, getRawLocator, inSeleniumRepresentation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
format, getRawLocator
 
Methods inherited from interface org.jboss.arquillian.ajocado.selenium.SeleniumRepresentable
inSeleniumRepresentation
 

Constructor Detail

WindowNameLocator

public WindowNameLocator(String name)
Construct new locator for referencing windows by name

Parameters:
name - referencing window
Method Detail

getLocationStrategy

public WindowLocationStrategy getLocationStrategy()
Description copied from interface: Locator
Returns the location strategy for this element

Returns:
the location strategy for this element

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.