Update dp.py
Browse files
dp.py
CHANGED
@@ -15,7 +15,7 @@ co.set_user_agent(
|
|
15 |
co.set_pref('credentials_enable_service', False)
|
16 |
# 阻止“要恢复页面吗?Chrome未正确关闭”的提示气泡
|
17 |
co.set_argument('--remote-debugging-address=0.0.0.0')
|
18 |
-
co.set_argument('--remote-allow-origins
|
19 |
co.set_argument('--remote-debugging-port=9222')
|
20 |
co.set_argument('--no-sandbox')
|
21 |
|
|
|
15 |
co.set_pref('credentials_enable_service', False)
|
16 |
# 阻止“要恢复页面吗?Chrome未正确关闭”的提示气泡
|
17 |
co.set_argument('--remote-debugging-address=0.0.0.0')
|
18 |
+
co.set_argument('--remote-allow-origins=http://*,https://*')
|
19 |
co.set_argument('--remote-debugging-port=9222')
|
20 |
co.set_argument('--no-sandbox')
|
21 |
|