Update v2.py
This commit is contained in:
parent
38b3eb2ec8
commit
db2214071d
|
@ -166,6 +166,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
||||||
extra_args = []
|
extra_args = []
|
||||||
if options.headless:
|
if options.headless:
|
||||||
extra_args.append("--headless")
|
extra_args.append("--headless")
|
||||||
|
extra_args.append("--window-size=1920,1080")
|
||||||
|
|
||||||
self.browser_args = [
|
self.browser_args = [
|
||||||
find_chrome_executable(),
|
find_chrome_executable(),
|
||||||
|
|
Loading…
Reference in New Issue