flash an element in watir
May 7th, 2009
No comments
When debugging the scripts of the watir application, there may be a need to flash an element, following is the code:
ie.element_by_xpath(” “).flash
When debugging the scripts of the watir application, there may be a need to flash an element, following is the code:
ie.element_by_xpath(” “).flash
When I tried to use hpricot, I found some error like “safariwatir missingsourcefile” from the beginning.
and it is said in the internet that I should remove include Watir from the script.
after I removed the “include Watir”, I got another error message like “uninitilezed constant IE “, and the internet tells me I should use Watir::IE.start() instead of IE.start(), should use Watir::IE.attach() instead of IE.attach()