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

Method PreW3CLocator

java/src/org/openqa/selenium/By.java:424–427  ·  view source on GitHub ↗
(String using, String value, String formatString)

Source from the content-addressed store, hash-verified

422 private final ByCssSelector fallback;
423
424 private PreW3CLocator(String using, String value, String formatString) {
425 this.remoteParams = new Remotable.Parameters(using, value);
426 this.fallback = new ByCssSelector(String.format(formatString, Css.escape(value)));
427 }
428
429 @Override
430 public WebElement findElement(SearchContext context) {

Callers

nothing calls this directly

Calls 2

escapeMethod · 0.95
formatMethod · 0.45

Tested by

no test coverage detected