Since it was convenient, I have also made examples for how to use the Python library similar to Puppeteer, Selenium. # **Selenium Headless Mode** - [F-Droid Termux](https://f-droid.org/en/packages/com.termux/) - Open Termux, then run these commands ```bash pkg install x11-repo pkg install python-pip geckodriver firefox pip install selenium curl -O https://gist.github.com/robertkirkman/0c2f3426024069546ed9b7bb2f26cb99/raw/89c27092d0e5ad338e08c34f256beda424b50dc1/selenium_headless.py python selenium_headless.py ``` # **Selenium Graphical Mode** - [F-Droid Termux](https://f-droid.org/en/packages/com.termux/) - [Termux:X11](https://github.com/termux/termux-x11) - Open Termux and Termux:X11, then run these commands in Termux. ```bash pkg install x11-repo pkg install python-pip geckodriver firefox termux-x11-nightly xfce pip install selenium curl -O https://gist.github.com/robertkirkman/0c2f3426024069546ed9b7bb2f26cb99/raw/89c27092d0e5ad338e08c34f256beda424b50dc1/selenium_graphical.py export TERMUX_X11_XSTARTUP="xfce4-session" termux-x11 & export DISPLAY=:0 python selenium_graphical.py ```