Web Features Learning Mode

During an HTTP authentication, how does one determine the username and password provided by the browser?