()
| 5334 | if (r.waitElement) { |
| 5335 | let waitTime = 500; |
| 5336 | let checkReady = () => { |
| 5337 | setTimeout(() => { |
| 5338 | if (!self.waitElement(document, r.waitElement) || !self.ruleMatchReady(r)) { |
| 5339 | checkReady(); |
| 5340 | } else { |
| 5341 | setRule(r); |
| 5342 | } |
| 5343 | }, parseInt(waitTime)); |
| 5344 | }; |
| 5345 | checkReady(); |
| 5346 | debug(r, 'Wait for'); |
| 5347 | return true; |
nothing calls this directly
no test coverage detected