MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / acceptPopup

Method acceptPopup

lib/helper/Puppeteer.js:516–518  ·  view source on GitHub ↗

* Accepts the active JavaScript native popup window, as created by window.alert|window.confirm|window.prompt. * Don't confuse popups with modal windows, as created by [various * libraries](http://jster.net/category/windows-modals-popups).

()

Source from the content-addressed store, hash-verified

514 * libraries](http://jster.net/category/windows-modals-popups).
515 */
516 acceptPopup() {
517 popupStore.assertPopupActionType('accept')
518 }
519
520 /**
521 * Set the automatic popup response to Cancel/Dismiss.

Calls 1

assertPopupActionTypeMethod · 0.80

Tested by

no test coverage detected