fix & optimize

This commit is contained in:
yeongpin
2025-02-13 11:33:20 +08:00
parent 887239d80c
commit 1cc93ffc22
8 changed files with 5 additions and 370 deletions

View File

@@ -100,12 +100,11 @@ def setup_driver(translator=None):
# 使用无痕模式
co.set_argument("--incognito")
co.set_argument("--headless=new")
# 设置随机端口
co.auto_port()
# 使用有头模式
# 使用有头模式(一定要设置为False模擬人類操作)
co.headless(False)
try: