Skip to content

Commit 2e55ea4

Browse files
committed
fixed
1 parent 0088a14 commit 2e55ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/ReptileUtil.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def selenium_driver(url, headless=True, incognito=True):
153153
"automatic_downloads": 0
154154
}
155155
}
156-
if not headless:
156+
if headless:
157157
# 设置chrome浏览器无界面模式
158158
options.add_argument('-headless')
159159
# 谷歌文档提到需要加上这个属性来规避bug

0 commit comments

Comments
 (0)