标签:imp switch css cli selector element bdr search ref
from selenium import webdriver
from time import sleep
driver=webdriver.Firefox()
adddress="地址"
driver.get(adddress)
#进入嵌套的frame中寻找元素
driver.switch_to_frame("search")
driver.find_element_by_css_selector("").send_keys("")
sleep(3)
driver.find_element_by_css_selector("").click()
sleep(3)
driver.quit()
标签:imp switch css cli selector element bdr search ref
原文地址:https://www.cnblogs.com/HYL1003597280/p/14337422.html