MCPcopy
hub / github.com/codeceptjs/CodeceptJS / cancelPopup

Method cancelPopup

lib/helper/Puppeteer.js:537–539  ·  view source on GitHub ↗

* Dismisses the active JavaScript popup, as created by window.alert|window.confirm|window.prompt.

()

Source from the content-addressed store, hash-verified

535 * Dismisses the active JavaScript popup, as created by window.alert|window.confirm|window.prompt.
536 */
537 cancelPopup() {
538 popupStore.assertPopupActionType('cancel')
539 }
540
541 /**
542 * {{> seeInPopup }}

Calls 1

assertPopupActionTypeMethod · 0.80

Tested by

no test coverage detected