Tuesday, 6 August 2013

how to use innerhtml in c# program?

how to use innerhtml in c# program?

May be a simple question for c# and selenium users..
How we can use "innerhtml" attribute of an element in c# so that I can
click on that particular element..??
Sample: driver.findelement(By.'using innerhtml").click();
The innerhtml of element seems to be SPAN. No other attributes such as ID,
NAME, TAGNAME, CLASSNAME found.
Any comments or ideas would be really appreciated..

No comments:

Post a Comment