protected function waitUntil($func, $timeout = 10) { $this->driver->wait($timeout)->until($func); return $this; }