/** * @param $password * @throws \Behat\Mink\Exception\ElementNotFoundException */ private function fill_password_field($password) { $this->helper_context->getSession()->getPage()->fillField($this->login_page->get_field('PASSWORD'), $password); }