Since it's harder to see when chocolate cookies are turning golden brown, you need to test the edges of the cookies. Poke the edges of the cookies with your finger or a fork. If the edges have started to firm up, you can remove the cookies from the oven and let them continue cooking on the tray for a few minutes before setting them on a wire rack to cool completely.