Update fun.py
Browse files
fun.py
CHANGED
@@ -45,7 +45,8 @@ def get_default_launch_args():
|
|
45 |
"--disable-features=TranslateUI",
|
46 |
"--no-first-run",
|
47 |
"--no-default-browser-check",
|
48 |
-
"--remote-allow-origins=*"
|
|
|
49 |
]
|
50 |
def wait_port(host, port, timeout=5.0):
|
51 |
"""等待端口可用"""
|
|
|
45 |
"--disable-features=TranslateUI",
|
46 |
"--no-first-run",
|
47 |
"--no-default-browser-check",
|
48 |
+
"--remote-allow-origins=*",
|
49 |
+
"--headless"
|
50 |
]
|
51 |
def wait_port(host, port, timeout=5.0):
|
52 |
"""等待端口可用"""
|