org.jboss.arquillian.ajocado.locator
Class DomLocator
java.lang.Object
org.jboss.arquillian.ajocado.locator.AbstractLocator<T>
org.jboss.arquillian.ajocado.locator.element.AbstractElementLocator<DomLocator>
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
DomLocator
public DomLocator(JavaScript javascriptExpression)
getLocationStrategy
public ElementLocationStrategy getLocationStrategy()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.