Hi, guys,
By the following code, I can get google search text field's "autocomplete"
attribute value.
*require 'watir'
ie=Watir::IE.goto("www.google.com")
puts ie.element_by_xpath("//inp...@name='q']").getAttribute("autocomplete")*If the text filed is in a frame, but for frame, no element_by_xpath attribute. How can I get the google search text field attribute "autocomplete"? Any suggestion would be quite appreciated. Thanks. Wesley Chen. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
