In Headless mode it is not possible to add attachments from a dialog.
We are currently working on creating a test case that involves opening a dialog and selecting a file to use as an attachment. While the test succeeds when run with a visible browser (headed test), it...