mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 10:14:59 +00:00
make test for playwright more robust #791
This commit is contained in:
parent
9d02628cf8
commit
644ec6f964
1 changed files with 4 additions and 4 deletions
|
@ -91,8 +91,8 @@ class Scraper:
|
||||||
if self.playwright_available is not None:
|
if self.playwright_available is not None:
|
||||||
return
|
return
|
||||||
|
|
||||||
with sync_playwright() as p:
|
|
||||||
try:
|
try:
|
||||||
|
with sync_playwright() as p:
|
||||||
p.chromium.launch()
|
p.chromium.launch()
|
||||||
self.playwright_available = True
|
self.playwright_available = True
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue