Yes they did. It is generally known that amphibians breathe through their skin.
9.5m questions
12.2m answers