I am having some problems with performing drag and drop action in firefox.
the code for the action is below:
Actions slide = new Actions(driver);
IAction slidePacket;
IWebElement slider = driver.FindElement(By.ClassName("ui-slider-handle"));
slide.DragAndDropToOffset(slider, 6, 0);
slidePacket = slide.Build();
slidePacket.Perform();
the above action are performed several times on a zoom slider (to check that the right zoom is displayed at each slider "checkpoint". up until 125% it works but when it should go to 150% the slider moves but then slides back to 125%. if i increase the offset to the next checkpoint which is 200% the slider will go back to 150%.
On chrome this never happens so the commands should be right.
I found some users saying that firefox native events might be to blame but i tried the above with native events both enabled and disabled with the same results.
Anyone have any idea?
PS:
using selenium 2.25 and firefox 16 (started with 15 guess it updated)
would the firefox version pose a problem? though i don't think so since the bug doesn't even seem to make any sense.