测试
测试性能
This commit is contained in:
@@ -30,7 +30,6 @@ class PlayContextManager:
|
|||||||
self.playwright = await async_playwright().start() # 不是 __enter__
|
self.playwright = await async_playwright().start() # 不是 __enter__
|
||||||
self.browser = await self.playwright.chromium.launch(
|
self.browser = await self.playwright.chromium.launch(
|
||||||
headless=config.get("schedule", "playwright_headless", True),
|
headless=config.get("schedule", "playwright_headless", True),
|
||||||
channel="chromium",
|
|
||||||
args=[
|
args=[
|
||||||
"--disable-blink-features=AutomationControlled",
|
"--disable-blink-features=AutomationControlled",
|
||||||
"--no-sandbox",
|
"--no-sandbox",
|
||||||
|
|||||||
Reference in New Issue
Block a user