Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ xpath
Function
xpath
javascript/selenium-webdriver/lib/by.js:241–243 ·
view source on GitHub ↗
(xpath)
Source
from the content-addressed store, hash-verified
239
* @see http:
//www.w3.org/TR/xpath/
240
*/
241
static xpath(xpath) {
242
return
new
By(
'xpath'
, xpath)
243
}
244
245
/** @override */
246
toString() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected