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

Method ByCssSelector

java/src/org/openqa/selenium/By.java:327–334  ·  view source on GitHub ↗
(String cssSelector)

Source from the content-addressed store, hash-verified

325 private final String cssSelector;
326
327 public ByCssSelector(String cssSelector) {
328 super(
329 "css selector",
330 Require.argument("CSS selector", cssSelector)
331 .nonNull("Cannot find elements when the selector is null"));
332
333 this.cssSelector = cssSelector;
334 }
335
336 @Override
337 public String toString() {

Callers

nothing calls this directly

Calls 2

argumentMethod · 0.95
nonNullMethod · 0.45

Tested by

no test coverage detected