()
| 57 | // Required for tests to work with WebDriver, since "amAcceptingPopups" is a Puppeteer command. |
| 58 | // returns existing amAcceptingPopups function if exists |
| 59 | async amAcceptingPopups () { |
| 60 | const helper = this.helpers['Puppeteer'] || this.helpers['WebDriver'] |
| 61 | try { |
| 62 | if (typeof helper.amAcceptingPopups === 'function') return helper.amAcceptingPopups.call(arguments) |
| 63 | } catch (err) { |
| 64 | console.log('CodeceptJs Custom Helper "amAcceptingPopups" Error:', err) |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | // Custom seeCheckedAttribute function. |
| 69 | // Evaluates true if xpath is checked |
no outgoing calls
no test coverage detected