Thanks for this Alex, how would I format that if the number was stored as a string? e.g. if num1 = '1234' how would I use num1 instead of 1234?
On Friday, 8 February 2013 10:45:37 UTC, Alex Shtayer wrote: > > > using regular expressions > e.g. > browser.link(:id, /.*1234.*/) > > or xpaths > browser.link(:xpath, "//a[contains(@id,'1234')]")) > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.