(text)
| 116 | } |
| 117 | |
| 118 | const getElementWithText = function (text) { |
| 119 | for (const element of Array.from(document.activeElement.querySelectorAll("*"))) { |
| 120 | if (element.innerText === text) { |
| 121 | return element |
| 122 | } |
| 123 | } |
| 124 | return null |
| 125 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…