18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

DragDrop not working on firefox.

lkolluru7lkolluru7 Members
edited June 2014 in Sahi Pro
Hi,

I am trying to use _dragDrop API and execute on Firefox.
SAHI Code:
_dragDrop(_div("item") , _span("dropHere"))


I am seeing below error.
TypeError: Argument 16 of DragEvent.initDragEvent does not implement interface DataTransfer.


It is woring fine on other browsers.

Regards.

Answers

  • I am attempting to do the same, did you get a fix for this.

    Regards,

    Donna
  • I am attempting to do the same, did you get a fix for this.

    Regards,

    Donna
  • I am attempting to do the same, did you get a fix for this.

    Regards,

    Donna
  • Hi,

    instead of using the _dragDrop() API I use the following function.
    function gwtDragDrop($dragEl, $dropEl)
    {
    _mouseDown($dragEl); 
    _mouseOver($dragEl);
    _mouseOver($dropEl);
    _mouseUp($dropEl); 
    }
    It works with firefox.
  • Hi Sahir,
    I am using the same function as you mentioned but i am still seeing the error on Firefox.
    TypeError: Argument 16 of DragEvent.initDragEvent does not implement interface DataTransfer.

    -Vchezel
  • Hi Sahir,
    I am using the same function as you mentioned but i am still seeing the error on Firefox.
    TypeError: Argument 16 of DragEvent.initDragEvent does not implement interface DataTransfer.

    -Vchezel
  • Hi Sahir,
    I am using the same function as you mentioned but i am still seeing the error on Firefox.
    TypeError: Argument 16 of DragEvent.initDragEvent does not implement interface DataTransfer.

    -Vchezel
Sign In or Register to comment.