When bathing in the sea became popular at the end of the 18th century , wealthy families from Edinburgh began to spend days here taking the waters in state-of-the art bathing machines .
Bathing machines were used at the end of the 18th century and were cutting edge for their time .