Interaction
submit
Submit a form by clicking its submit button or calling form.submit(). Defaults to the first <form> on the page.
Usage
$ cdpilot submit [<selector>]Arguments
| Name | Required | Description |
|---|---|---|
selector | optional | CSS selector for the form. Defaults to "form". |
Examples
Submit the first form on the page
$ npx cdpilot submitSubmit a specific form
$ npx cdpilot submit "#login-form"