You are here

public function JavascriptTrait::executeScript in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/jcalderonzumba/mink-phantomjs-driver/src/JavascriptTrait.php \Zumba\Mink\Driver\JavascriptTrait::executeScript()

Executes a script on the browser

Parameters

string $script:

File

vendor/jcalderonzumba/mink-phantomjs-driver/src/JavascriptTrait.php, line 17

Class

JavascriptTrait
Class JavascriptTrait @package Zumba\Mink\Driver

Namespace

Zumba\Mink\Driver

Code

public function executeScript($script) {
  $this->browser
    ->execute($script);
}