Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ lines
Function
lines
javascript/selenium-webdriver/lib/accessibility_snapshot.js:124–129 ·
view source on GitHub ↗
(node, indent)
Source
from the content-addressed store, hash-verified
122
}
123
124
function
* lines(node, indent) {
125
yield indent + lineFor(node)
126
for
(
const
child of node.children) {
127
yield* lines(child, indent +
' '
)
128
}
129
}
130
131
function
lineFor(node) {
132
if
(node.role ===
'text'
) {
Callers
1
toText
Method · 0.85
Calls
1
lineFor
Function · 0.85
Tested by
no test coverage detected