python使用selenium操作frame/iframe

driver.switch_to.frame(reference) 


driver.switch_to.parent_frame() 


driver.switch_to.default_content()

猜你喜欢

转载自blog.csdn.net/weixin_40306397/article/details/86487360
今日推荐