/** * Drags current node onto other node. * * @param ElementInterface $destination other node */ public function dragTo(ElementInterface $destination) { $this->getSession()->getDriver()->dragTo($this->getXpath(), $destination->getXpath()); }