I can locate 4 with the code below: $ie.link(:xpath,"//[EMAIL PROTECTED]'menu416951507']/../../../").div(:class, 'dayActivityBG1')
Can we use $ie.link(:id, "menu416951507").document.parentNode... to locate the div? parentNode belongs to the XML::DOM::Node attribute. Any article or document about it? Thanks. Wesley. --:) Man should be hard to himself, but tolerant to others. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---