private function BrowserKitDriver::getFormNodeId in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink-browserkit-driver/src/BrowserKitDriver.php \Behat\Mink\Driver\BrowserKitDriver::getFormNodeId()
Returns form node unique identifier.
Parameters
\DOMElement $form:
Return value
string
3 calls to BrowserKitDriver::getFormNodeId()
- BrowserKitDriver::getFormField in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php - Returns form field from XPath query.
- BrowserKitDriver::resetForm in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php - BrowserKitDriver::submit in vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php
File
- vendor/
behat/ mink-browserkit-driver/ src/ BrowserKitDriver.php, line 747
Class
- BrowserKitDriver
- Symfony2 BrowserKit driver.
Namespace
Behat\Mink\DriverCode
private function getFormNodeId(\DOMElement $form) {
return md5($form
->getLineNo() . $form
->getNodePath() . $form->nodeValue);
}