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 ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果