from selenium import webdriver
from selenium.webdriver import ChromeOptions
option = ChromeOptions()
option.add_argument('--headless')
browser = webdriver.Chrome(options=option)
browser.set_window_size(15360, 3600)
browser.get('https://www.baidu.com')
browser.get_screenshot_as_file('preview.png')
截取高清大图?