MCPcopy
hub / github.com/json-editor/json-editor / amAcceptingPopups

Method amAcceptingPopups

config/codeceptjs_helpers.js:59–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 4

array_test.jsFile · 0.80
advanced_test.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected