-
Open Termux and Termux:X11, then run these commands in Termux
pkg install x11-repo
pkg install nodejs firefox termux-x11-nightly xfce
npm install puppeteer-core
export TERMUX_X11_XSTARTUP="xfce4-session"
termux-x11 &
export DISPLAY=:0
curl -O https://gist.githubusercontent.com/robertkirkman/0c2f3426024069546ed9b7bb2f26cb99/raw/9d113614fc7dc8a8359d80214297097a81f67cf7/puppeteer_search.js
node puppeteer_search.js