I'm trying to figure out the best way to attach to a new browser. I've been successful using the following:
browser.attach(:title, "title")
I was reading over at the wtr-development group that the preferred way to do it is like this:
browser.attach(:title=>"title")
This syntax seems to work for all other other elements, except for the attach method. The error method I get is "ArgumentError: wrong number of arguments (1 for 2)"
My tests are running fine, I'm just curious if the attach method should support both ways of doing this.