browser mouse drag and drop to offset

Allows you to emulate a drag and drop action by setting the offset for the selected element.


Example

Running this code will emulate the drag and drop action to the element "//*[@id="post-1857"]/div[2]/p[4]/input" with an offset on the horizontal axis of "-100", having a delay of "1000".

plugin command("Browser Automation.dll", "browser mouse drag and drop to offset", "//*[@id=\"post-1857\"]/div[2]/p[4]/input", 50, 0, 1000, "False")

Was this helpful?