src/Concerns/InteractsWithPages.php
protected function makeRequestUsingForm(Form $form, array $uploads = [])
    {
        $files = $this->convertUploadsForTesting($form, $uploads);

        return $this->makeRequest(
            $form->getMethod(), $form->getUri(), $this->extractParametersFromForm($form), [], $files
        );
    }
protected function makeRequestUsingForm(Form $form, array $uploads = [])
    {
        $files = $this->convertUploadsForTesting($form, $uploads);

        return $this->makeRequest(
            $form->getMethod(), $form->getUri(), $this->extractParametersFromForm($form), [], $files
        );
    }
protected function makeRequestUsingForm ( Form $ form , array $ uploads = [ ] ) { $ files = $ this -> convertUploadsForTesting ( $ form , $ uploads ) ; return $ this -> makeRequest ( $ form -> getMethod ( ) , $ form -> getUri ( ) , $ this -> extractParametersFromForm ( $ form ) , [ ] , $ files ) ; }
Make a request to the application using the given form.

@param  \Symfony\Component\DomCrawler\Form  $form
@param  array  $uploads
@return $this
Make a request to the application using the given form .