You are here

public function Session::executeScript in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Session.php \Behat\Mink\Session::executeScript()

Execute JS in browser.

Parameters

string $script javascript:

File

vendor/behat/mink/src/Session.php, line 322

Class

Session
Mink session.

Namespace

Behat\Mink

Code

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