feat: 支持选择Playwright浏览器环境

This commit is contained in:
ixff
2025-11-06 11:20:49 +08:00
parent 0716c65269
commit 9b125bf9b0
4 changed files with 6 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ from app.utils.http import RequestUtils, cookie_parse
class PlaywrightHelper:
def __init__(self, browser_type="chromium"):
def __init__(self, browser_type=settings.PLAYWRIGHT_BROWSER_TYPE):
self.browser_type = browser_type
@staticmethod