public function NodeElement::getAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Element/NodeElement.php \Behat\Mink\Element\NodeElement::getAttribute()
Returns specified attribute value.
Parameters
string $name:
Return value
string|null
1 call to NodeElement::getAttribute()
- NodeElement::hasClass in vendor/
behat/ mink/ src/ Element/ NodeElement.php - Checks whether an element has a named CSS class.
File
- vendor/
behat/ mink/ src/ Element/ NodeElement.php, line 127
Class
- NodeElement
- Page element node.
Namespace
Behat\Mink\ElementCode
public function getAttribute($name) {
return $this
->getDriver()
->getAttribute($this
->getXpath(), $name);
}