Doesn't work on Ubuntu 22.04 with 2.3.0 + nodejs v12.22.9
capture-website --debug https://sindresorhus.com
Just opens a blank chrome window and does nothing. It says chrome is controlled by automated test software. And it keeps running until force closed. Without --debug it doesn't open browser window, just keeps running.
Sandboxing using
sudo sysctl -w kernel.unprivileged_userns_clone=1
doesn't work either.
However it does work with test.js
sudo npm install -g [email protected]
sudo npm install -g [email protected]
cd /home/<user>/Documents/Project-A/ && npm link capture-website
nano test.js
import captureWebsite from 'capture-website';
captureWebsite.file('https://sindresorhus.com', 'screenshot.png');
node test.js
It does produce screenshot.png just fine. Only cli doesn't work
Iny idea why ?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too