我正在尝试使用镀铬驱动程序使用selenium(python)打印网页。它启动网页但从不打印它

时间:2017-03-30 06:18:47

标签: python selenium selenium-chromedriver sendkeys

from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.common.keys import Keys

chrome_path = r"C:\Users\shantam\Desktop\chromedriver.exe"
driver= webdriver.Chrome(chrome_path)    
driver.get('https://careers.jpmorgan.com/careers/apply-experienced')#open the webpage
ActionChains(driver).send_keys(Keys.CONTROL + "p").perform()

某种程度上,动作链不起作用。 请帮忙。

0 个答案:

没有答案