I have a link with the following text: vb (User-44, vb:DocuShare)CPX. It works when I use the statement: ie.link( :text, /vb/ ).click
But for the following code: var = "vb" ie.link( :text, /"#{var}"/ ).click it gives me the message Unable to locate element, using :text, /"vb"/. May be it treats vb in regex as "vb". Please, help. Thanks, Vladimir --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---