Graphene Implementation 1.0.0.CR3

org.jboss.arquillian.ajocado.locator
Class DomLocator

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
      extended by org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator<DomLocator>
          extended by org.jboss.arquillian.ajocado.locator.DomLocator
All Implemented Interfaces:
ElementLocator<DomLocator>, Locator<DomLocator>, SeleniumRepresentable

public class DomLocator
extends AbstractElementLocator<DomLocator>

Find an element by evaluating the specified JavaScript expression.

This allows you to traverse the HTML Document Object Model using JavaScript.

Note that you must not return a value in this expression; simply make it the last expression in the block.

Version:
$Revision$
Author:
Lukas Fryc

Constructor Summary
DomLocator(JavaScript javascriptExpression)
           
 
Method Summary
 ElementLocationStrategy getLocationStrategy()
           
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator
format, getAttribute
 
Methods inherited from class org.jboss.arquillian.ajocado.locator.AbstractLocator
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
getRawLocator
 
Methods inherited from interface org.jboss.arquillian.ajocado.selenium.SeleniumRepresentable
inSeleniumRepresentation
 

Constructor Detail

DomLocator

public DomLocator(JavaScript javascriptExpression)
Method Detail

getLocationStrategy

public ElementLocationStrategy getLocationStrategy()

Graphene Implementation 1.0.0.CR3

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