When you run a Playwright script by double-clicking it or using python shot.py, it works fine. However, when you register it in Task Scheduler to run every morning, nothing happens. No error screen ...
"It works in the command prompt, but fails when run from Windows Task Scheduler."Have you ever encountered this situation ...
I'm about ready to pull my hair out. I am going to have (0x1) errors showing up in my dreams soon if this keeps up. I have a simple Python script that I want to run as soon as an AWS EC2 (Windows) ...