public function dragTo($sourceXpath, $destinationXpath) {
    $sourceElement = $this->findElement($sourceXpath, 1);
    $destinationElement = $this->findElement($destinationXpath, 1);
    $this->browser->drag($sourceElement["page_id"], $sourceElement["ids"][0], $destinationElement["ids"][0]);
  }
public function dragTo($sourceXpath, $destinationXpath) {
    $sourceElement = $this->findElement($sourceXpath, 1);
    $destinationElement = $this->findElement($destinationXpath, 1);
    $this->browser->drag($sourceElement["page_id"], $sourceElement["ids"][0], $destinationElement["ids"][0]);
  }
public function dragTo ( $ sourceXpath , $ destinationXpath ) { $ sourceElement = $ this -> findElement ( $ sourceXpath , 1 ) ; $ destinationElement = $ this -> findElement ( $ destinationXpath , 1 ) ; $ this -> browser -> drag ( $ sourceElement [ "page_id" ] , $ sourceElement [ "ids" ] [ 0 ] , $ destinationElement [ "ids" ] [ 0 ] ) ; }
Drags one element to another
@param string $sourceXpath
@param string $destinationXpath
@throws DriverException
Drags one element to another