browser.php
public function clickSubmitByName($name, $additional = false)
    {
        if (! ($form = $this->page->getFormBySubmit(new SelectByName($name)))) {
            return false;
        }
        $success = $this->load(
                $form->getAction(),
                $form->submitButton(new SelectByName($name), $additional));

        return ($success ? $this->getContent() : $success);
    }
public function clickSubmitByName($name, $additional = false)
    {
        if (! ($form = $this->page->getFormBySubmit(new SelectByName($name)))) {
            return false;
        }
        $success = $this->load(
                $form->getAction(),
                $form->submitButton(new SelectByName($name), $additional));

        return ($success ? $this->getContent() : $success);
    }
public function clickSubmitByName ( $ name , $ additional = false ) { if ( ! ( $ form = $ this -> page -> getFormBySubmit ( new SelectByName ( $ name ) ) ) ) { return false ; } $ success = $ this -> load ( $ form -> getAction ( ) , $ form -> submitButton ( new SelectByName ( $ name ) , $ additional ) ) ; return ( $ success ? $ this -> getContent ( ) : $ success ) ; }
Clicks the submit button by name attribute. The owning form will be submitted by this.

@param string $name     Button name.
@param hash $additional Additional form data.

@return string/boolean  Page on success.
Clicks the submit button by name attribute . The owning form will be submitted by this .