Green’s Dictionary of Slang

wagtail n.

also up tail, wag, water-wagtail
[SE wag + tail n. (3)]

[late 16C–early 19C] a promiscuous woman, a prostitute; occas. a dissolute man; also attrib.