protected function getFormUrl(Crawler $form)
    {
        $action = $form->form()->getUri();
        return $this->getAbsoluteUrlFor($action);
    }
protected function getFormUrl(Crawler $form)
    {
        $action = $form->form()->getUri();
        return $this->getAbsoluteUrlFor($action);
    }
protected function getFormUrl ( Crawler $ form ) { $ action = $ form -> form ( ) -> getUri ( ) ; return $ this -> getAbsoluteUrlFor ( $ action ) ; }
Returns the form action's absolute URL.

@param \Symfony\Component\DomCrawler\Crawler $form
@return string
@throws \Codeception\Exception\TestRuntimeException if either the current
URL or the URI of the form's action can't be parsed
Returns the form action s absolute URL .