Selenium with Python: how to increase resolution for full screen screenshot?

时间:2018-03-23 00:37:16

标签: python selenium selenium-webdriver

Is it possible to increase the resolution of a full screen screenshot using Selenium with Python? I currently take screenshots the following way and the resolution appears to be low:

browser = webdriver.Chrome('C:\Python27\chromedriver.exe')
browser.maximize_window()
browser.get("http://www.google.com")
browser.save_screenshot("savedImage.png")

0 个答案:

没有答案