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

Method acceptPopup

lib/helper/Playwright.js:1032–1034  ·  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

1030 * libraries](http://jster.net/category/windows-modals-popups).
1031 */
1032 acceptPopup() {
1033 popupStore.assertPopupActionType('accept')
1034 }
1035
1036 /**
1037 * Set the automatic popup response to Cancel/Dismiss.

Callers

nothing calls this directly

Calls 1

assertPopupActionTypeMethod · 0.80

Tested by

no test coverage detected