貝努-重生的神話
我要讓妳過好日子
2016年10月13日 星期四
[selenium] 讓 chrome 啟動時最大化視窗
chromeDriverExeFilePath = "path-to-executable/chromedriver.exe"
options = webdriver.ChromeOptions()
options.add_argument("--start-maximized")
driver = webdriver.Chrome(executable_path=chromeDriverExeFilePath, chrome_options=options)
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言