submitForm
Submits a form found by given selector. The submit command may also be applied
to any element that is a descendant of a <form>
element.
Usage
1 | browser.submitForm(selector); |
Parameters
Param | Type | Details |
---|---|---|
selector | String | form element |
Example
1 | <form action="/form.php" method="post" id="loginForm"> |
1 | it('should submit login form', function () { |