Fixed
- Also add cookies, set during headless browser usage, to the cookie jar. When switching back to the (guzzle) HTTP client the cookies should also be sent.
- Don't call
Loader::afterLoad()
whenLoader::beforeLoad()
was not called before. This can potentially happen, when an exception is thrown before the call to thebeforeLoad
hook, but it is caught and theafterLoader
hook method is called anyway. As this most likely won't make sense to users, theafterLoad
hook callback functions will just not be called in this case. - The
Throttler
class now has protected methods_internalTrackStartFor()
,_requestToUrlWasStarted()
and_internalTrackEndFor()
. When extending theThrottler
class (be careful, actually that's not really recommended) they can be used to check if a request to a URL was actually started before.