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

Method id

java/src/org/openqa/selenium/By.java:49–51  ·  view source on GitHub ↗

@param id The value of the "id" attribute to search for. @return A By which locates elements by the value of the "id" attribute.

(String id)

Source from the content-addressed store, hash-verified

47 * @return A By which locates elements by the value of the "id" attribute.
48 */
49 public static By id(String id) {
50 return new ById(id);
51 }
52
53 /**
54 * @param linkText The exact text to match against.

Calls

no outgoing calls