Open GoogleCodeExporter opened 9 years ago
..the code above should of course have a release() in - it still doesn't work:
// This does nothing...
builder = new Actions(driver);
builder.clickAndHold(el).moveByOffset(200, 400).release().build().perform();
I've tested the mouse click/release on this site and they seem to work
correctly, so I'm assuming it is a problem with moving to the specified
location?
Original comment by danJhoc...@gmail.com
on 3 Oct 2014 at 9:46
^^^Tested mouse click/release on http://unixpapa.com/js/testmouse.html
Original comment by danJhoc...@gmail.com
on 3 Oct 2014 at 9:47
Further testing - moveToElement/moveByOffset do work, as does clickAndHold, but
in combination they don't:
builder.clickAndHold(el).moveByOffset(200, 400).release().build().perform();
Original comment by danJhoc...@gmail.com
on 3 Oct 2014 at 10:39
I think this issue is potentially related to issue 841:
https://code.google.com/p/chromedriver/issues/detail?id=841&q=label%3APriority-M
edium&colspec=ID%20Status%20Pri%20Owner%20Summary
Original comment by jonstewa...@gmail.com
on 24 Nov 2014 at 11:42
Original comment by samu...@chromium.org
on 21 Feb 2015 at 12:18
Issue is reproducible with chrome: 41.0.2272.76 and chromedriver:2.14
WebDriver driver = new ChromeDriver();
driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
driver.navigate().to(new URL("http://www.impallari.com/testing/"));
WebElement el = driver.findElement(By.linkText("Text"));
Actions builder = new Actions(driver);
builder.click(el).build().perform();
builder = new Actions(driver);
builder.clickAndHold(el).moveByOffset(200, 400).release().build().perform();
builder = new Actions(driver);
builder.dragAndDropBy(el, 200, 400).build().perform();
Original comment by ssudunag...@chromium.org
on 12 Mar 2015 at 4:52
Original issue reported on code.google.com by
danJhoc...@gmail.com
on 2 Oct 2014 at 11:30