public function NodeElement::dragTo in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/NodeElement.php \Behat\Mink\Element\NodeElement::dragTo()
Drags current node onto other node.
Parameters
ElementInterface $destination other node:
File
- vendor/
behat/ mink/ src/ Element/ NodeElement.php, line 287
Class
- NodeElement
- Page element node.
Namespace
Behat\Mink\ElementCode
public function dragTo(ElementInterface $destination) {
$this
->getDriver()
->dragTo($this
->getXpath(), $destination
->getXpath());
}