By the way, this is a nice "getting involved" opportunity - add some specs to watirspec that tests Element#drag_and_drop_on(other), e.g. using jQuery UI.
On Tue, Jan 17, 2012 at 2:59 PM, Jari Bakken <[email protected]> wrote: > > > On Tue, Jan 17, 2012 at 8:17 AM, Jarmo <[email protected]> wrote: > >> >> Jari, what are you thoughts and comments on this? >> > > > Yeah, we should definitely have a common API, and it should definitely > work with Watir::Element instances. > > WebDriver's API (though not universally supported yet) allows being very > specific about the location of drags - e.g. specifying the offsets (in > pixels) within the destination element. Perhaps > adding Element#drag_and_drop_on(other) is a good first step for Watir? I'd > prefer this over #drag_to(other) since the latter is ambigious about > whether you want to release the mouse once you've reached the destination > element. > > > Jari > > > >
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
