headless off

This commit is contained in:
jxxghp
2023-06-12 23:05:56 +08:00
parent 21b1f1a9c1
commit 5a4c6c8a74
2 changed files with 8 additions and 6 deletions

View File

@ -11,7 +11,7 @@ class PlaywrightHelper:
cookies: str = None,
ua: str = None,
proxies: dict = None,
headless: bool = True,
headless: bool = False,
timeout: int = 30) -> str:
"""
获取网页源码