public function MouseTrait::doubleClick in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/mink-phantomjs-driver/src/MouseTrait.php \Zumba\Mink\Driver\MouseTrait::doubleClick()
Double click on element found via xpath
Parameters
string $xpath:
Throws
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ MouseTrait.php, line 42
Class
- MouseTrait
- Class MouseTrait @package Zumba\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function doubleClick($xpath) {
$elements = $this
->findElement($xpath, 1);
$this->browser
->doubleClick($elements["page_id"], $elements["ids"][0]);
}