How to click the first link in the li of every ul?

  • Автор темы Автор темы bambinou
  • Дата начала Дата начала

bambinou

Client
Регистрация
22.08.2011
Сообщения
442
Реакции
21
Баллы
18
Hello
I have this kind of setup:

<ul>
<li><a href="" id="oiuoiu"></a> | <a href="" id="oiuoiuoiu"></a> </li>
<li> <a href="" id="oiuoiu098"> </a> | <a href="" id="oiuoiuoiu98"> </a> </li>
<li> <a href="" id="oiuoiu980"> </a> | <a href="" id="oiuoiuoiu80808"> </a> </li>
</ul>
My problem is that I need to click the second link of every <li> inside <ul> but all the ids and classes are changing on the fly on page reload.
How to do this please?
Thank you.
 
Hi, use the XPath to solve this problem.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)