Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.locator.option
Class OptionLabelLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
      extended by org.jboss.arquillian.ajocado.locator.option.AbstractOptionLocator<OptionLabelLocator>
          extended by org.jboss.arquillian.ajocado.locator.option.OptionLabelLocator
All Implemented Interfaces:
Locator<OptionLabelLocator>, OptionLocator<OptionLabelLocator>, SeleniumRepresentable

public class OptionLabelLocator
extends AbstractOptionLocator<OptionLabelLocator>

Locates select options based on their labels, i.e. the visible text.

Can be regular expression: "regexp:^[Oo]ther"

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
OptionLabelLocator(String label)
           
 
Method Summary
 OptionLocationStrategy getLocationStrategy()
           
 
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

OptionLabelLocator

public OptionLabelLocator(String label)
Method Detail

getLocationStrategy

public OptionLocationStrategy getLocationStrategy()

Graphene Implementation 1.0.0.CR3

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