On Tue, Apr 26, 2011 at 2:42 PM, marc betts <marc...@gmail.com> wrote:
>
> browser.div(:id=>"some_div").element.drag_and_drop_on(browser.div(:id=>"some_other_div").element)
>
When you call Watir::Element#element to fetch the underlying
Selenium::WebDriver::Element instance, you're using a private API that
was changed in 0.2.1:
https://github.com/jarib/watir-webdriver/commit/7cee77a7b81d87df1392c43d402d262f5df9ecac
You can still do this by replacing the #element calls in your code
with #wd, but keep in mind that this API is not public (it's marked as
private in the documentation).
We should probably add Watir::Element#drag_and_drop_on directly - feel
free to file that to the tracker: