2 ms·
Another downside to the selenium API is that there is no way to get any upstream HTTP status or network error. That includes redirects unfortunately. I'm using
by fauigerzigerk 10y ago
Another downside to the selenium API is that there is no way to get any upstream HTTP status or network error. That includes redirects unfortunately.
I'm using a Chrome plugin for that purpose, which complicates the whole setup even further.
- benjiweber 10y agoYou could use a proxy like browsermob, which you can connect via the selenium API.
- fauigerzigerk 10y agoThat's yet another moving part with its own error modes. And I'm not quite sure (without having it thought through) how I would do something like get the URL of the last permanent redirect and correlate it with the original request. I'm sure it's possible somehow, but it doesn't seem exactly straightforward.