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

Method xpath

javascript/selenium-webdriver/bidi/browsingContext.js:66–68  ·  view source on GitHub ↗

* Creates a new Locator object with the given XPath value. * * @param {string} value - The XPath value. * @returns {Locator} A new Locator object.

(value)

Source from the content-addressed store, hash-verified

64 * @returns {Locator} A new Locator object.
65 */
66 static xpath(value) {
67 return new Locator(Locator.Type.XPATH, value)
68 }
69
70 /**
71 * Creates a new Locator object with the specified inner text value.

Callers 6

selectByValueMethod · 0.45
selectByVisibleTextMethod · 0.45
deselectByVisibleTextMethod · 0.45
deselectByValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected