Hi folks, i hope this is an easy question.
So i am trying to use selenium get_attribute to get the innertext of a
link? For example,if my link is defined as
<a href=
www.yahoo.com>YAHOO</a> how would i use get_attribute to get
YAHOO returned?
So i have tried the following
selenium.getAttribute("//a[contains(@href, 'list')]@href")
selenium.getAttribute("//a[contains(@href, 'list')]@text")
selenium.getAttribute("//a[contains(@href, 'list')]@innertext")
and they all fail.. is it easy to get what i am looking for? It makes
sense to be?
Thanks,
Steve