Click at link by address template
Posted
by Ockonal
on Stack Overflow
See other posts from Stack Overflow
or by Ockonal
Published on 2010-05-19T10:59:19Z
Indexed on
2010/05/19
11:10 UTC
Read the original article
Hit count: 153
Hello, I'm using Selenium for making some work: script should click at link followed by it's own address. For example, there is a method: clickAndWait. I have to pass it link title. But at my page this title changes, so I have to pass address to click at.
Could you help me with this?
p.s. I asked this question in selenium group, but still have no answer.
upd: For exampe, I have such html-code:
<a href="lalala.com">Some changeable title</a>
<a href="another.com">Some changeable title</a>
And selenium pseudocode:
ClickAndWait('Some changeable title')
But I have to click at site 'another.com', not 'lalala.com'. And link's title changes every time. Only link address is the same.
© Stack Overflow or respective owner