Fix: Catch TargetClosedError in PlaywrightController.sleep() to avoid crashes on download-triggered page closes #6415
Codecov / codecov/patch
failed
May 21, 2025 in 1s
60.00% of diff hit (target 79.52%)
View this Pull Request on Codecov
60.00% of diff hit (target 79.52%)
Annotations
codecov / codecov/patch
python/packages/autogen-ext/src/autogen_ext/agents/web_surfer/playwright_controller.py#L88
Added line #L88 was not covered by tests
codecov / codecov/patch
python/packages/autogen-ext/src/autogen_ext/agents/web_surfer/playwright_controller.py#L90
Added line #L90 was not covered by tests
Loading