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.
| Constructor and Description |
|---|
DomLocator(JavaScript javascriptExpression) |
| Modifier and Type | Method and Description |
|---|---|
ElementLocationStrategy |
getLocationStrategy() |
format, getAttributegetRawLocator, inSeleniumRepresentation, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetRawLocatorinSeleniumRepresentationpublic DomLocator(JavaScript javascriptExpression)
public ElementLocationStrategy getLocationStrategy()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.