You are here

public function Session::evaluateScript in Zircon Profile 8

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

Execute JS in browser and return it's response.

Parameters

string $script javascript:

Return value

string

File

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

Class

Session
Mink session.

Namespace

Behat\Mink

Code

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