PhantomJS is deprecated and it seems to cause [issues for some users](http://sozi.baierouge.fr/community/d/79-sozi-to-pdf-failing-with-file-argument-must-be-of-type-string). We need to migrate Sozi-export to another headless browser. We have the following options: * [SlimerJS](https://slimerjs.org/) could be used with little effort, but it requires users to install Firefox and [is not compatible with recent versions of Firefox](https://github.com/laurentj/slimerjs/issues/708). * Headless Chromium, through the [puppeteer module](https://pptr.dev/), which may require more effort but should be more stable. * [Nightmare](https://github.com/segmentio/nightmare)
PhantomJS is deprecated and it seems to cause issues for some users.
We need to migrate Sozi-export to another headless browser.
We have the following options: