first of all forgive my ignorance, I’ve only been working with automation a few days and I’m a total noob. I probably have the wording wrong too.
I’m trying to get the value of a hidden span element.
I first use “waitForElementPresent” so I know it’s there.
then I use:
String tag = selenium.getText (‘css=span.eg’)
but all I get is "null’ instead of the text inside.
If I simply put
click selenium.click (‘css=span.eg’), it works just fine. The link works just fine
One thing that maybe the problem is that on some pages there are several instances of this “span”. Could that be the problem?
Thanks and sorry for this