function Selenium2Driver::trigger
Throws
5 calls to Selenium2Driver::trigger()
- Selenium2Driver::blur in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Removes focus from element.
- Selenium2Driver::focus in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Brings focus to element.
- Selenium2Driver::keyDown in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Pressed down specific keyboard key.
- Selenium2Driver::keyPress in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Presses specific keyboard key.
- Selenium2Driver::keyUp in vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php - Pressed up specific keyboard key.
File
-
vendor/
lullabot/ mink-selenium2-driver/ src/ Selenium2Driver.php, line 1298
Class
- Selenium2Driver
- Selenium2 driver.
Namespace
Behat\Mink\DriverCode
private function trigger(string $xpath, string $event, string $options = '{}') : void {
$script = 'syn.trigger({{ELEMENT}}, "' . $event . '", ' . $options . ')';
$this->withSyn()
->executeJsOnXpath($xpath, $script);
}