I'm using Chrome as a browser and can't quite figure out how to dismiss a print dialog that appears on click of a particular button.
I have tried using browser.dismissAlert();
and browser.keys([browser.Keys.ESCAPE]);
to hit the escape button, and neither works. I'm not sure that Nightwatch is aware that there is a dialog at all.
I've been searching online and can't seem to find a solution... anyone got any ideas please?