18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
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.
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
Regards,
Donna
Regards,
Donna
Regards,
Donna
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.
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
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
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