MJ Ray wrote:
Can't you use wget's cookie-saving options to follow it?
Probably yes, but the process needed to get to the right state for the tests (in this case creating an account, logging in, entering delivery details, etc) would mean that I really needed a GUI for wget that allowed me to fill in the right form fields etc. Writing a GUI for wget is probably harder than writing a logging tool for Firefox :-)
The problem is that the site should be switching to HTTPS when it comes to finalising an order process, and the relevant steps in the process aren't available until you've created the order. What appears to be happening is that the site is correctly linking to an HTTPS page which is incorrectly then redirecting back to an HTTP version of itself. In reality it's not a single redirect, but a sequence of three redirects none of which I can see any reason for (not my code!).