You are here

public function BrowserScriptTrait::evaluate in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/jcalderonzumba/gastonjs/src/Browser/BrowserScriptTrait.php \Zumba\GastonJS\Browser\BrowserScriptTrait::evaluate()

Evaluates a script on the browser

Parameters

$script:

Return value

mixed

File

vendor/jcalderonzumba/gastonjs/src/Browser/BrowserScriptTrait.php, line 15

Class

BrowserScriptTrait
Trait BrowserScriptTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

public function evaluate($script) {
  return $this
    ->command('evaluate', $script);
}