Title: Div and link question?

Hello All,

I am struggling with following; I only like to select all the links on the page that correspond to a particular div. In my case <div id="header"> (see html-code). However ie.div(:id , /header/).link(:url, /greetings.php/).click  does not work. It returns an watir error. Does anybody know a way to work this.

Thanks,
Bernd

=begin
<div id="header">
<ul>
  <li id="current"><a title="Page principale">Principal</a></li>
  <li><a href="" title="Réglez les options personnelles, changez le code de sécurité et modifiez le nom enregistré">Profil</a></li>

  <li><a href="" title="Choisissez et enregistrez les messages d'accueil">Messages d'accueil</a></li>
  <li><a href="" title="Réglez les options de conversation ainsi que la date et l'heure">Lecture</a></li>
  <li><a href="" title="Réglez les options de transfert d'appels, de filtrage et de mise en attente">Transfert | Filtrage</a></li>

  <li><a href="" title="Gère vos avis de nouveaux messages">Avis de réception</a></li>
  <li><a href="" title="Créez et gérez les groupes de distribution">Groupes</a></li>
</ul>
</div>
=end

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to