【发布时间】:2020-04-10 17:29:08
【问题描述】:
我是使用 selenium 的新手,我目前正在努力收集登录背后和框架内的一些数据(底部的 html)。我要收集的数据在代码的“#document”部分,有人能解释一下如何获取吗?
我不清楚这是否在"MembersHostFrame" 内?
我需要使用这个代码吗 -
driver.switch_to.default_content()
driver.switch_to.frame("MembersHostFrame")
【问题讨论】:
标签: python selenium iframe frame