/** * @throws \Behat\Mink\Exception\ElementNotFoundException */ private function press_login_button() { $this->helper_context->getSession()->getPage()->pressButton($this->login_page->get_button('LOG_IN')); }