Submit a FORM element. The submit command may also be applied to any element that is a descendant of a FORM element.

Usage:

Parameters:

Name Type description
webElementId string

The Web Element ID of the element to route the command to.

callback
Optional
function

Optional callback function to be called when the command finishes.