from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
wd = webdriver.Chrome(service=Service(r'C:\tools\chromedriver.exe'))
wd.get('https://www.baidu.com')
element=wd.find_element(By.ID,'kw')
element.send_keys('湖南信息学院')
element= wd.find_element(By.ID,'su')
element.click()
python系统测试工具应用
最新推荐文章于 2024-07-30 21:09:58 发布