Salting mushrooms while cooking draws moisture from them and may prevent them from browning. Add the salt after the mushrooms have browned to achieve a nice golden color.