Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.locator
Class AbstractLocationStrategy

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocationStrategy
All Implemented Interfaces:
LocationStrategy
Direct Known Subclasses:
ElementLocationStrategy, FrameLocationStrategy, OptionLocationStrategy, WindowLocationStrategy

public abstract class AbstractLocationStrategy
extends Object
implements LocationStrategy

Abstract strategy for location of items on page.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
AbstractLocationStrategy(String strategyName)
          Creates new location strategy with name
 
Method Summary
 String getStrategyName()
          Returns the name of strategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractLocationStrategy

public AbstractLocationStrategy(String strategyName)
Creates new location strategy with name

Parameters:
strategyName - the name of strategy
Method Detail

getStrategyName

public String getStrategyName()
Returns the name of strategy

Specified by:
getStrategyName in interface LocationStrategy
Returns:
the strategy name

Graphene Selenium: API 2.0.0.Alpha1

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