public function MouseTrait::mouseOver in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/jcalderonzumba/mink-phantomjs-driver/src/MouseTrait.php \Zumba\Mink\Driver\MouseTrait::mouseOver()
Generates a mouseover event on the given element by xpath
Parameters
string $xpath:
Throws
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ MouseTrait.php, line 18
Class
- MouseTrait
- Class MouseTrait @package Zumba\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function mouseOver($xpath) {
$element = $this
->findElement($xpath, 1);
$this->browser
->hover($element["page_id"], $element["ids"][0]);
}