开发者

Selenium 2 and c#: How to get html-code below a specific IWebElement?

How is it possible to get the html code below a specific IWebElement using Selenium 2 and C#?

Or, is t开发者_如何学Gohis not possible at this time and I need to fetch the whole html sourcecode via IWebDriver.PageSource?


Sorry misread your question. There is indeed one API for this and as you said -

IWebDriver.PageSource

On a different note, did you support Selenium Proposal on area51 - http://area51.stackexchange.com/proposals/4693/selenium You just need to click Commit button to support site, while having logged in using your stack ovewflow account. This proposal is backed by SeleniumHQ and we need more users to commit to it to make it see day of light.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜