public function processResponse(RequestInterface $request, array $options, ResponseInterface $response, Step $step, ValueBag $values)
{
$crawler = $this->createCrawler($request->getUri(), $response);
foreach ($this->extensions as $extension) {
$extension->processResponse($request, $response, $step, $values, $crawler);
}
if (!($step = $step->getNext())) {
return $response;
}
$options['step'] = $step;
$nextRequest = $this->requestFactory->create($step, $values, $request, $response, $crawler);
return $this($nextRequest, $options);
}