selenium切换iframe

from selenium import webdriver


br = webdriver.Chrome()
br.get("tps://study.163.com/")

iframe = br.find_element_by_xpath("")

br.switchto.frame(iframe)
br.find_element_by_xpath("")
原文地址:https://www.cnblogs.com/brady-wang/p/12467723.html