src/Concerns/InteractsWithPages.php
protected function submitForm($buttonText, $inputs = [], $uploads = [])
    {
        $this->makeRequestUsingForm($this->fillForm($buttonText, $inputs), $uploads);

        return $this;
    }
protected function submitForm($buttonText, $inputs = [], $uploads = [])
    {
        $this->makeRequestUsingForm($this->fillForm($buttonText, $inputs), $uploads);

        return $this;
    }
protected function submitForm ( $ buttonText , $ inputs = [ ] , $ uploads = [ ] ) { $ this -> makeRequestUsingForm ( $ this -> fillForm ( $ buttonText , $ inputs ) , $ uploads ) ; return $ this ; }
Submit a form on the page with the given input.

@param  string  $buttonText
@param  array  $inputs
@param  array  $uploads
@return $this
Submit a form on the page with the given input .