Commit 92aba5e1 authored by 章 登恒's avatar 章 登恒
Browse files

commit

parent 19a46bb8
......@@ -25,7 +25,8 @@ from public.mail1 import send_email1
from public.tools import *
opt = ChromeOptions() # 创建 Chrome 参数对象
opt.headless = False # 把 Chrome 设置成无界面模式,windows/Linux 皆可
# opt.headless = False # 把 Chrome 设置成无界面模式,windows/Linux 皆可
# opt.add_argument('--headless')# 把 Chrome 设置成无界面模式
opt.add_argument('--start-maximized')
opt.add_argument('--window-size=1280x1024')
chrome = webdriver.Chrome(options=opt)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment