点击选择文件上传内容
from selenium import webdriverfrom time import sleepdriver=webdriver.Chrome()driver.get('http://www.baidu.com')driver.find_element_by_class_name('soutu-btn').click()sleep(1)driver.find_element_by_class_name('upload-pic').send_keys(r'F:\\wx\\PyCharm Community Edition 2018.1.3\\zdh\\1.jpg')