public function JavascriptTrait::evaluateScript in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/jcalderonzumba/mink-phantomjs-driver/src/JavascriptTrait.php \Zumba\Mink\Driver\JavascriptTrait::evaluateScript()
Evaluates a script and returns the result
Parameters
string $script:
Return value
mixed
File
- vendor/
jcalderonzumba/ mink-phantomjs-driver/ src/ JavascriptTrait.php, line 26
Class
- JavascriptTrait
- Class JavascriptTrait @package Zumba\Mink\Driver
Namespace
Zumba\Mink\DriverCode
public function evaluateScript($script) {
return $this->browser
->evaluate($script);
}