blob: ab59b2817db862300c813daea6f319a4f8bbbbd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package com.att.ecomp.dcae.ci.ui.utils;
import org.openqa.selenium.By.ByCssSelector;
public class ByTest extends ByCssSelector {
private static final long serialVersionUID = 7435597710732625685L; // auto generated - does nothing
protected ByTest(String cssSelector) {
super(cssSelector);
}
public static ByTest id(String id) {
return new ByTest(String.format("[data-tests-id=\"%s\"]", id));
}
}
|