public class LocatorFactoryImpl extends Object implements LocatorFactory
Constructor and Description |
---|
LocatorFactoryImpl(net.sourceforge.jwebunit.WebTester tester) |
Modifier and Type | Method and Description |
---|---|
TableCellLocator |
cell(String tableId,
int row,
int col) |
CssLocator |
css(String cssSelector) |
IdLocator |
id(String id) |
NodeLocator |
node(Node node) |
WebPageLocator |
page() |
TableLocator |
table(String tableId) |
XPathLocator |
xpath(String xpathExpression) |
@Inject public LocatorFactoryImpl(net.sourceforge.jwebunit.WebTester tester)
public XPathLocator xpath(String xpathExpression)
xpath
in interface LocatorFactory
public CssLocator css(String cssSelector)
css
in interface LocatorFactory
public WebPageLocator page()
page
in interface LocatorFactory
public IdLocator id(String id)
id
in interface LocatorFactory
public NodeLocator node(Node node)
node
in interface LocatorFactory
public TableLocator table(String tableId)
table
in interface LocatorFactory
public TableCellLocator cell(String tableId, int row, int col)
cell
in interface LocatorFactory
Copyright © 2002-2021 Atlassian. All Rights Reserved.