actor->fillField ( 'input[name="LoginForm[username]"]', $username ); $this->actor->fillField ( 'input[name="LoginForm[password]"]', $password ); $this->actor->click ( 'login-button' ); } }