You are here

public function BrowserScriptTrait::execute 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::execute()

Executes a script on the browser

Parameters

$script:

Return value

mixed

File

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

Class

BrowserScriptTrait
Trait BrowserScriptTrait @package Zumba\GastonJS\Browser

Namespace

Zumba\GastonJS\Browser

Code

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