MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / ById

Method ById

java/src/org/openqa/selenium/By.java:187–192  ·  view source on GitHub ↗
(String id)

Source from the content-addressed store, hash-verified

185 private final String id;
186
187 public ById(String id) {
188 super(
189 "id", Require.argument("Id", id).nonNull("Cannot find elements when id is null."), "#%s");
190
191 this.id = id;
192 }
193
194 @Override
195 public String toString() {

Callers

nothing calls this directly

Calls 2

argumentMethod · 0.95
nonNullMethod · 0.45

Tested by

no test coverage detected