> It is scope thing. You should always use local variables, unless you really
> need to access them from other code.

That sort of brings me on to my next query. How could I turn this into
a method so that I do not have to type it out every time?

I have used methods a little but I am not sure how I could pass the
arguments?

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to