You are here

public function Session::wait in Zircon Profile 8

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

Waits some time or until JS condition turns true.

Parameters

int $time time in milliseconds:

string $condition JS condition:

Return value

bool

File

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

Class

Session
Mink session.

Namespace

Behat\Mink

Code

public function wait($time, $condition = 'false') {
  return $this->driver
    ->wait($time, $condition);
}