You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, currently this is well known bug. It's something we need to put in a TODO section or something.
Right now, most methods don't support varargs, where the watir spec clearly identifies them as needing to do so.
For example, you're supposed to be able to find a div by "id" using simply:
browser.div("id"), or browser.div({ :id => "id" })
But right now watir only supports:
browser.div(:id, "id")
I've written a simple dsl that a nice abstraction over Xwatir. The dsl always passes a has to the method. For example:
button(:id => 'some_id') OR button(:id => 'some_id', :index => 1)
This works fine on Watir and Firewatir but fails in Safariwatir.
The text was updated successfully, but these errors were encountered: