/** * Click on link or button and move to next page. * Either link text, css selector, or xpath can be passed * * @param $link */ public function click($link) { $this->browser->click($link); $this->debug('moved to page ' . $this->browser->fixUri($this->browser->getRequest()->getUri())); $this->followRedirect(); }