Open haydenflinner opened 7 years ago
D'oh! I must have it wrong someplace. For the chrome module, you don't need the chromeOptions
object. Just pass a simple object with a flags
property:
const chrome = new Chrome({ flags: {...} });
Do you recall where you saw this? The Navalia
module uses that signature as it's not vendor specific (hence the chromeOptions)
Here's the code I'm trying to run, compiled from two different examples in the docs:
But when I run it it works as normal, like it did before I added the noheadless arg. Anything obvious I'm doing wrong?