I have to handle print dialog (the same one that appears when clicking ctrl-p in browser). I tried with:
Alert printDialog = driver.switchTo().alert();
printDialog.dismiss();
but it didn't work. Also I couldn't catch its window handle, because it's not a window...
Is it possible to handle these objects and how?