Status
People
(Reporter: Camsey, Unassigned)
Tracking
Firefox Tracking Flags
(Not tracked)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36 Steps to reproduce: Using the following: Selenium V3.0.0 (C#) Marionette (geckodriver.exe) V0.11.1 Windows 7 (64 bit) Firefox V50 Having issue when trying to drag and drop elements, Can't drag them at all. Actual results: When trying to drag them, The following error occurs. Selenium Error: System.NotImplementedException : POST /session/801ca084-1c37-46ad-905b-e7420c2af64f/moveto did not match a known command Here is the way I am implementing the drag and drop (using C# flavor of the framework): LogMessage("Preparing to Drag Element to Element: " + sourceSelector); Actions action = new Actions(browser); if (GetBrowserInfo().BrowserName == "internet explorer") { // For IE ONLY! // Manually done drag and drop with an off set to help IE browser more accurately drag. action.ClickAndHold(GetElement(sourceSelector)); action.MoveToElement(GetElement(destinationSelector), -10, 0); action.Release(GetElement(destinationSelector)); } else { // For all other browsers drag and drop normally. (Chrome and Firefox) action.DragAndDrop(GetElement(sourceSelector), GetElement(destinationSelector)); } action.Perform(); Expected results: This used to work in the previous version of Selenium (2.53.1) before updating to the V3.0. I expect the driver to be able to drag and drop the elements as it has in the past, just like IE and Google Chrome. Is there any hope that you guys will implement the moveto methods.
Comment 1•a year ago
|
||
Actions are not yet implemented in Marionette or geckodriver. See https://github.com/mozilla/geckodriver/issues/159.
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → INVALID
Great thank you, I will see if there is any plan to develop the Actions implementation (soon) from the above link.
You need to log in
before you can comment on or make changes to this bug.
Description
•