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

Function currLine

javascript/atoms/dom.js:1051–1053  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1049bot.dom.appendVisibleTextLinesFromElementCommon_ = function (
1050 elem, lines, isShownFn, childNodeFn) {
1051 function currLine() {
1052 return /** @type {string|undefined} */ (goog.array.peek(lines)) || '';
1053 }
1054
1055 // TODO: Add case here for textual form elements.
1056 if (bot.dom.isElement(elem, goog.dom.TagName.BR)) {

Callers 1

dom.jsFile · 0.85

Calls 1

peekMethod · 0.45

Tested by

no test coverage detected