Closed alewolf closed 4 years ago
I have the same problem. How did you solve it?
@corocraft Yes. Goutte recently switched entirely using the HttpBrowser which is a component of symfony/panther. This is why the method I used above is not working anymore. The simple solution is to start using HttpBrowser directly: https://symfony.com/doc/4.4/components/browser_kit.html#making-external-http-requests
This is not a simple replacement, unless I am mistaken. If you have a whole stack implemented over GuzzleHttp\ClientInterface
, is there a drop-in replacement or do you have to reimplement everything?
When I try to initiate a Goutte client like in the example
$this->client = static::createGoutteClient();
I get following error
This look like a bug to me. If it is not, what do I do wrong?