We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da4872 commit c2d36b4Copy full SHA for c2d36b4
Classes/Eel/SocialCardHelper.php
@@ -8,8 +8,6 @@
8
use Neos\Eel\ProtectedContextAwareInterface;
9
use Neos\Flow\Http\Client\Browser;
10
use Neos\Flow\Http\Client\CurlEngine;
11
-use Neos\Flow\Http\Request;
12
-use Neos\Flow\Http\Uri;
13
use Symfony\Component\DomCrawler\Crawler;
14
15
@@ -59,9 +57,7 @@ public function getCrawler(string $externalUri = null): ?Crawler
59
57
throw new WrongUriException($externalUri . ' is not a valid URI');
60
58
}
61
62
- $uri = new Uri($externalUri);
63
- $request = Request::create($uri, "GET");
64
- $this->browser->sendRequest($request);
+ $this->browser->request($externalUri);
65
return $this->browser->getCrawler();
66
67
0 commit comments