public final class ByDataAttribute extends Object
By to locate elements by HTML5 data-* attribute.| Modifier and Type | Method and Description |
|---|---|
static org.openqa.selenium.By |
byData(String attributeName) |
static org.openqa.selenium.By |
byData(String attributeName,
String attributeValue) |
static org.openqa.selenium.By |
byTagAndData(String tagName,
String dataAttributeName) |
static org.openqa.selenium.By |
byTagAndData(String tagName,
String dataAttributeName,
String dataAttributeValue) |
Copyright © 2015 Atlassian. All rights reserved.