public function CoreDriver::evaluateScript in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Driver/CoreDriver.php \Behat\Mink\Driver\CoreDriver::evaluateScript()
Evaluates JS script.
The "return" keyword is optional in the script passed as argument. Driver implementations must accept the expression both with and without the keyword.
Parameters
string $script:
Return value
mixed
Throws
UnsupportedDriverActionException When operation not supported by the driver
DriverException When the operation cannot be done
Overrides DriverInterface::evaluateScript
File
- vendor/
behat/ mink/ src/ Driver/ CoreDriver.php, line 439
Class
- CoreDriver
- Core driver. All other drivers should extend this class for future compatibility.
Namespace
Behat\Mink\DriverCode
public function evaluateScript($script) {
throw new UnsupportedDriverActionException('JS is not supported by %s', $this);
}