/** * To locate cells marked with 'data-cell-type' attribute. * * @param cellType cell type to find * @return locator */ public static By byCellType(String cellType) { return ByDataAttribute.byTagAndData(PageElements.TD, DATA_CELL_TYPE, cellType); }
public IssuePickerRow(PageElement rowElement) { this.rowElement = rowElement; this.issueKeyCell = rowElement.find(ByDataAttribute.byData("cell-type", "issue-key")); }
public void clickHelpLink(String helpLinkKey) { elementFinder.find(ByDataAttribute.byData("help-link-key", helpLinkKey)).click(); } }
protected PageElement findPropertyRow(String propertyId) { return elementFinder.find(ByDataAttribute.byTagAndData(ROW_TAG, PROPERTY_ID, propertyId)); }
public PageElement findPropertyCell(final String propertyId) { return elementFinder.find(ByDataAttribute.byTagAndData(ROW_TAG, PROPERTY_ID, propertyId)); }
private PageElement getResetLoginCountButton() { return loginDetailsCell.find(byTagAndData("a", "link-type", "reset-login-type")); }
public boolean hasRow(User user) { return userTable.find(byTagAndData(PageElements.TR, "user", user.getUserName())).isPresent(); }