(helper, body, fn)
| 76 | } |
| 77 | |
| 78 | async function evaluateInFrame(helper, body, fn) { |
| 79 | if (body.helperType === 'webdriver') { |
| 80 | return helper.executeScript(fn) |
| 81 | } |
| 82 | return body.element.evaluate(fn) |
| 83 | } |
| 84 | |
| 85 | function focusMarkedInFrameScript() { |
| 86 | const el = document.querySelector('[data-codeceptjs-rte-target]') || document.body |
no test coverage detected