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 ...
When using Windows 11/10 regularly, one can easily see that the OS is a mix of various background tasks and processes. To complete a huge number of background processes, Windows uses a Task Scheduler.