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

Method name

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

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

(String name)

Source from the content-addressed store, hash-verified

72 * @return A By which locates elements by the value of the "name" attribute.
73 */
74 public static By name(String name) {
75 return new ByName(name);
76 }
77
78 /**
79 * @param tagName The element's tag name.

Calls

no outgoing calls