Thanks for the correct RegEx; it finds an object, but not the one I want. The below are the url's of the second 'Filter' and 'New' links. They are hardly different and I am sure they will change in a different environment, so I can't hard-code them
http://gbahevm07l15:9081/wps/myportal/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4i3dAHJgFjGpvqRqCKOcAFfj_zcVKBwpDmQ726kH5abmZeZm1mVmgITdAvDImjoFIBN1MhbPywvvygX6IoQuKGG2AwNRRYMQhgQoO-tH6BfkBsaUW6ca2GcG-BnWubsCADEVrkI/delta/base64xml/L0lDVE83b0pKN3VhQ1NZSkNncFJDZ3BSQS9ZSVVJQUFJSUlJSUlJTU1JSUlNSUlDQ0lHRUVBSktPQk9CS09KRkpGS0pBIS80QjFpY29uUVZ3R3hPVVRvSzc5WVFyTmh6RGNJN0RsRzR4QSEvN18wXzEyUC8xMTQyNS9zcGZfQWN0aW9uTmFtZS9zcGZfQWN0aW9uTGlzdGVuZXIvc3BmX3N0cnV0c0FjdGlvbi8lMG5ld1RlcnJpdG9yeUJJQy5kbw!!#7_0_12P http://gbahevm07l15:9081/wps/myportal/!ut/p/kcxml/04_Sj9SPykssy0xPLMnMz0vM0Y_QjzKLN4i3dAHJgFjGpvqRqCKOcAFfj_zcVKBwpDmQ726kH5abmZeZm1mVmgITdAvDImjoFIBN1MhbPywvvygX6IoQuKGG2AwNRRYMQhgQoO-tH6BfkBsaUW6ca2GcG-BnWubsCADEVrkI/delta/base64xml/L0lDVE83b0pKN3VhQ1NZSkNncFJDZ3BSQS9ZSVVJQUFJSUlJSUlJTU1JSUlNSUlDQ0lHRUVBSktPQk9CS09KRkpGS0pBIS80QjFpY29uUVZ3R3hPVVRvSzc5WVFyTmh6RGNJN0RsRzR4QSEvN18wXzEyUC8xMzc3Ni9zcGZfQWN0aW9uTmFtZS9zcGZfQWN0aW9uTGlzdGVuZXIvc3BmX3N0cnV0c0FjdGlvbi8lMHNob3dUZXJyaXRvcnlCSUNTZWFyY2guZG8!#7_0_12P Is it not possible to get the second link on a page? Something like: $ie.link(:text, 'New';:index, 2).click Cheers Aidy --------------------------------------------------------------------------------------------------------------- This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient you must not copy this message or attachment or disclose the contents to any other person. --------------------------------------------------------------------------------------------------------------- _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
