Friday, 15 July 2011

How to extract data in between a tag in selenium -



How to extract data in between a tag in selenium -

how extract info after class "help file". here text help file link when clicked on leads me form. can of please suggest me how proceed it. newbie selenium, struck on here. tried extracting xpath gives me path of home page using selenium webdriver , eclipse ide. project supports ie.

help file code file

try code:

class="lang-java prettyprint-override">// assume driver in initialized string strtext = driver.findelement(by.id("locator id")).gettext(); // print text of web element system.out.println(strtext);

selenium-webdriver

No comments:

Post a Comment