Really quick one...

Trying to identify and click a link on a page, using the following:

   $ie.link(:url => /testing_URL/, :text => /More.../).click

Where "testing_URL" is a variable I'm passing the script in a loop.  In the 
first instance, the variable value is *search-requests*.  The actual links in 
the code look something like:

   <a href="https://{+domain+}/search-requests/";>More...</a>

I'm receiving the following error:

   "Unable to locate object, using text(?-mix:More...)urlsearch-24hours and"

It's probably quite simple, I suspect my understanding of the "/" characters 
and use of the variable is making life difficult for myself.  Any quick 
assistance?

(Sorry, google searching for this proved very difficult, so apologies.)
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to