Python之Selenium截取高清大图
作者:互联网
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')
截取高清大图?
标签:webdriver,option,selenium,Python,大图,get,Selenium,import,browser 来源: https://www.cnblogs.com/zhzhang/p/15101193.html