Skip to main content

New submit() Scripting Function

Improvement

The new submit() function lets you submit a form directly, without needing to identify a specific submit button. Pass a CSS selector for any form element and A11y Pulse will call .submit() on it, then wait for the resulting navigation to complete.

This is useful when a login form uses non-standard markup or when click() on the submit button doesn’t behave as expected.

submit("form:has(input[name=password])");