Since it can be visually a bit difficult to determine when your cookies are ready, you can go by texture instead. Look to see if the edges are dry and set. You can even lightly press on the edges to check them. It's ok if the middles are slightly soft especially since the caramel is in the center.