`
阿尔萨斯
  • 浏览: 4203790 次
社区版块
存档分类
最新评论

Selenium - How to find the element in iframe

 
阅读更多

The following C# code may help you.

IWebElement frame = this.webDriver.FindElement(By.Id("xxx"));
return this.webDriver.SwitchTo().Frame(frame).FindElement(By.Id("xxx"));
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics