public function DriverInterface::getAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Driver/DriverInterface.php \Behat\Mink\Driver\DriverInterface::getAttribute()
Returns element's attribute by it's XPath query.
Parameters
string $xpath:
string $name:
Return value
string|null
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
1 method overrides DriverInterface::getAttribute()
- CoreDriver::getAttribute in vendor/
behat/ mink/ src/ Driver/ CoreDriver.php - Returns element's attribute by it's XPath query.
File
- vendor/
behat/ mink/ src/ Driver/ DriverInterface.php, line 339
Class
- DriverInterface
- Driver interface.
Namespace
Behat\Mink\DriverCode
public function getAttribute($xpath, $name);