src/DrupalExtension/Context/DrupalContext.php
public function submitContentForm() {
    $element = $this->getSession()->getPage();
    $submit = $element->findButton($this->getDrupalText('node_submit_label'));
    if (empty($submit)) {
      throw new \Exception(sprintf("No submit button at %s", $this->getSession()->getCurrentUrl()));
    }
    // Submit the form.
    $submit->click();
  }
public function submitContentForm() {
    $element = $this->getSession()->getPage();
    $submit = $element->findButton($this->getDrupalText('node_submit_label'));
    if (empty($submit)) {
      throw new \Exception(sprintf("No submit button at %s", $this->getSession()->getCurrentUrl()));
    }
    // Submit the form.
    $submit->click();
  }
public function submitContentForm ( ) { $ element = $ this -> getSession ( ) -> getPage ( ) ; $ submit = $ element -> findButton ( $ this -> getDrupalText ( 'node_submit_label' ) ) ; if ( empty ( $ submit ) ) { throw new \ Exception ( sprintf ( "No submit button at %s" , $ this -> getSession ( ) -> getCurrentUrl ( ) ) ) ; } // Submit the form. $ submit -> click ( ) ; }
Submit node form using "node_submit_label" value.

@When I submit the content form
Submit node form using node_submit_label value .