...

/

Form Submissions

Form Submissions

Learn how buttons can be used to submit forms by using Selenium.

Submitting a form by submit form button

In the official Selenium documentation, the operation of clicking a form submit button is handled by calling submit() function on the input element. For instance, consider the following example:

driver.findElement(By.name("user")).sendKeys("agileway");
passw
...