Hi, all
As we known, pagecontainstext method could check the text that contained
current page, including the values in the object
maybe the pagecontainstext method was designed like below,
if (ie.getDocument.body.innertext =~ /#{text}/) != nil
puts true
else
puts false
end
but, that is not my expect, I only want to check the pure text, as the label
displayed on page, which is not belong to any object value or
dropdown/select list item.
who can provide some good way to check the text?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---