[英]How to Save in PDF Format Selenium (Python)
如果您使用壁虎驅動程序
from selenium.webdriver.firefox.firefox_porfile import FirefoxProfile()
profile = FirefoxProfile()
# Save pdf without asking
profile.set_preference("browser.helperApps.neverAsk.saveToDisk", "application/pdf")
您可以找到其他文件的字幕
編輯:我在這里找到一個類似的鏈接:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.