public InterfaceImplementation getImplementation(Object value) {
return new InterfaceImplementation() {
public Object invoke(ExecuteMethod exec, Object self, Method method, Object... args) {
RemoteWebDriver driver = (RemoteWebDriver) self;
WebDriverLikeCommandExecutor executor = new WebDriverLikeCommandExecutor(driver);
if ("dragFromToForDuration".equals(method.getName())) {
Point from = (Point) args[0];
Point to = (Point) args[1];
int duration = (Integer) args[2];