📜  从 url selenium python 代码示例下载图像

📅  最后修改于: 2022-03-11 14:45:56.105000             🧑  作者: Mango

代码示例1
from selenium import webdriver

driver = webdriver.Firefox()
driver.get('https://moscowsg.megafon.ru/ps/scc/php/cryptographp.php?PHPSESSID=mfc540jkbeme81qjvh5t0v0bnjdr7oc6&ref=114&w=150')

driver.save_screenshot("screenshot.png")

driver.close()