MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / currLine

Function currLine

javascript/atoms/typescript/get-text.ts:173–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 ) => void,
172): void {
173 function currLine(): string {
174 return lines[lines.length - 1] ?? ''
175 }
176
177 // Guarded through a Node-typed alias: isElement returns `node is Element`,
178 // so testing elem directly would narrow it to never for the whole of the

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected