Yeah, ideally you shouldn't need to use the class directly since the methods are included in the element class. The errors are better when you do the code I suggested.
As far as the `#to_proc` syntax, it's discussed in our watir 6 faq. http://watir.com/watir-6-faq/#I -- -- Before posting, please read https://github.com/watir/watir_meta/wiki/Guidelines-for-Posting-to-Watir-General-Google-Group. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
