Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ oneLine
Function
oneLine
javascript/selenium-webdriver/lib/accessibility_snapshot.js:158–160 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
156
}
157
158
function
oneLine(value) {
159
return
value.replace(/\\/g,
'\\\\'
).replace(/\r/g,
'\\r'
).replace(/\n/g,
'\\n'
)
160
}
161
162
/**
163
* Builds the node tree from the atom's wire form.
Callers
1
lineFor
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected