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

Method tagName

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

@param tagName The element's tag name. @return A By which locates elements by their tag name.

(String tagName)

Source from the content-addressed store, hash-verified

80 * @return A By which locates elements by their tag name.
81 */
82 public static By tagName(String tagName) {
83 return new ByTagName(tagName);
84 }
85
86 /**
87 * @param xpathExpression The XPath to use.

Calls

no outgoing calls