MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / ByLinkText

Method ByLinkText

java/src/org/openqa/selenium/By.java:205–212  ·  view source on GitHub ↗
(String linkText)

Source from the content-addressed store, hash-verified

203 private final String linkText;
204
205 public ByLinkText(String linkText) {
206 super(
207 "link text",
208 Require.argument("Link text", linkText)
209 .nonNull("Cannot find elements when the link text is null."));
210
211 this.linkText = linkText;
212 }
213
214 @Override
215 public String toString() {

Callers

nothing calls this directly

Calls 2

argumentMethod · 0.95
nonNullMethod · 0.45

Tested by

no test coverage detected