If browser.link(:url, /#{regExp1}.*#{regExp2}/).exists? == true then

[…]

 

should work!
 
-MG


 

 

http://server.com/jm/sell?act=form&subAct=modif&siteID=MLA&itemID=22245975

 

And I’ve defined two RegExp:

 

RegExp1 = “subAct=modif”

RegExp2 = “22245975”

 

I’ve tried something like..

 

If browser.link(:url, /#{regExp1}#{regExp2}/).exists? == true then

[…]

 

But this doesn’t work.. I suppose I need something like / #{regExp1} | #{regExp2} / (but instead of doing an OR, something that works like an AND of regexps).

 


This e-mail message is being sent solely for use by the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by phone or reply by e-mail, delete the original message and destroy all copies. Thank you.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to