NodeJS Puppeteer Block Popups

Viewed 2101

Essentially I am just trying to fill out some input fields on a shopify site, however halfway through that I get an iframe popup from the site with some sort of sale which obviously causes the input typing to fail.

I was curious if there was any argument I could add to the browser that would block popups? I have tried

--enable-popup-blocking

But that doesn't seem to work.

Failing that is there any other way to close the popup?

Any help is appreciated!

1 Answers
Related