1 Answer

0 votes
by
We use “submit” method on element to submit a form

driver.findElement(By.id("form_1")).submit();

1

driver.findElement(By.id("form_1")).submit();

Alternatively, you can use click method on the element which does form submission

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
0 votes
asked Aug 22, 2019 in Selenium by john ganales
...