Chrome Version 133.0.6943.60 (Official Build) (64-bit)
The xwiki server is on Windows. I used the args for Chrome: --headless --remote-debugging-port=9222 --disable-gpu --remote-allow-origins=http://localhost:9222
Hi, I take it that you can’t or don’t want to use the headless Chrome Docker image so you want to run the headless Chrome yourself. In this case I’d recommend replicating the setup / configuration used by the Docker image because that’s what we use in our automated tests and so that’s what we know to be working:
I haven’t tried with the latest version of Chrome, but be aware that Chrome updates can come with behavior changes regarding print / paged media which conflict with paged.js the library we’re using to polyfill the paged media specs that are not fully implemented by all browsers. Best is to try to use the version of Chrome we’re using in our automated PDF export tests.