Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ id
Function
id
javascript/selenium-webdriver/lib/by.js:163–165 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
161
* @
return
{!By} The
new
locator.
162
*/
163
static id(id) {
164
return
By.css(
'*[id="'
+ escapeCss(id) +
'"]'
)
165
}
166
167
/**
168
* Locates link elements whose
Callers
2
add_callback
Method · 0.85
remove_callback
Method · 0.85
Calls
2
escapeCss
Function · 0.85
css
Method · 0.45
Tested by
no test coverage detected