Hey, I just hosted an app that uses selenium to automate Facebook. The script works fine on my local computer but it doesn't work on pythonanywhere. The bot only successfully logs in to Facebook and then can find the respective elements in the further automation process. Why does it happen?
At first, I thought, it happens because the webpage on the chrome headless window opens slowly on hosted app compared to local PC. I increased the time.sleep() seconds between two elements but still it didn't work.