Home > watir > $ Use the text property to locate a link in watir $

$ Use the text property to locate a link in watir $

October 13th, 2008 Leave a comment Go to comments

I found by chance that we can use the text property to locate a link in watir, the following is the syntax I used:

ie77.link(:text => /the text in a link/).click

Related Blogs



Categories: watir Tags: ,
  1. No comments yet.
  1. No trackbacks yet.
      
                  
      

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word