Selenium Web Driver - read the text associate with the Web element

 I am using Selenium WebDriver in my Eggplant. I am trying to read the text associate with the WebElement using

webElement's text

But its not working. Any suggestions or sample codes are welcome.

Dhanasekar

Comments

  • yosephchayosephcha Member
    edited February 14
    How about this..
    put FindElement(webXpath:"//*[@id='aaa']").text into var
    log var
Sign In or Register to comment.