I'm doing things a bit differently, but also more or less in the same vein.
I'm also running wire mock as a stand-alone process, and encountered some difficulties which are holding me back. I'm trying to record my interaction with websites on multi-part forms using wire mock. When the link that separates parts of the forms from one another is a relative URL, things work ok as the wire mock server still serves as a recording proxy towards the target domain. However, that all breaks with absolute links, where the browser instead goes directly to the target domain instead of aliasing through wire mock.
So, instead of going somewhere like this, where interactions are recorded:
localhost:8080/catsAreCool
I'd get redirected to this, where the interactions are NOT recorded:
I can't really blame wiremock or the browser in this case; they're both doing the correct behavior. The browser goes straight to absolute urls, as it should, and wire mock records, as it also should. I can get around this by making a script or whatever that would just convert absolute links to relative ones, but there are holes in that line of thinking; for one, what if I can only traverse forms via a button, which doesn't have a link attribute in it, but instead references some javascript that in turn links you to the next form?
If I had to take a guess, I'd say that wire mock is more intended for use via curl than it is by using a browser.