You can use “submit” method on element to submit form-
element.submit () ;
Alternatively you can use click method on the element which does form submission