I have a selenium script running on a pi model 3B+, the script works just fine when run manually using /usr/bin/python /home/pi/main.py but when running it using crontab or LXDE