public function login( $username, $password ) {
		$I = $this->_actor;

		$I->amOnPage( wp_login_url() );
		$I->fillField( self::USERNAME_FIELD, $username );
		$I->fillField( self::PASSWORD_FIELD, $password );
		$I->click( self::LOGIN_BUTTON );
		$I->seeCookie( LOGGED_IN_COOKIE );
		
		return $this;
	}
public function login( $username, $password ) {
		$I = $this->_actor;

		$I->amOnPage( wp_login_url() );
		$I->fillField( self::USERNAME_FIELD, $username );
		$I->fillField( self::PASSWORD_FIELD, $password );
		$I->click( self::LOGIN_BUTTON );
		$I->seeCookie( LOGGED_IN_COOKIE );
		
		return $this;
	}
public function login ( $ username , $ password ) { $ I = $ this -> _actor ; $ I -> amOnPage ( wp_login_url ( ) ) ; $ I -> fillField ( self :: USERNAME_FIELD , $ username ) ; $ I -> fillField ( self :: PASSWORD_FIELD , $ password ) ; $ I -> click ( self :: LOGIN_BUTTON ) ; $ I -> seeCookie ( LOGGED_IN_COOKIE ) ; return $ this ; }
Logins as an user.

@since 1.0.0

@access public
@param string $username The username to login with.
@param string $password The user password.
@return \WPCC\Helper\PageObject\LoginPage
Logins as an user .