You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After that get latest nodejs. I used this way: https://nodejs.org/en/download/current/
Search for latest 64-bit linux binaries, e.g. https://nodejs.org/dist/v9.1.0/node-v9.1.0-linux-x64.tar.xz
Download & extract with command such as “tar xvf”
Go to ~/.profile and add permanent path for binary folder of nodejs, e.g.:
PATH="$HOME/bin:$HOME/.local/bin:$HOME/node-v9.1.0-linux-x64/bin:$PATH"
Log out & login again, then verify versions of node & npm in command line.
Next, modify code to ensure you are using headless chrome. See sample here:
const browser = await puppeteer.launch({
headless: true,
slowMo: 250 // slow down by 250ms
});
SET HEADLESS TO TRUE, NOT FALSE!
Currently this works only on Mac/local machine. Set this up so that it can work on linux/vm
The text was updated successfully, but these errors were encountered: