in Selenium by
Q:
How to submit a form using Selenium WebDriver?

► Click here to show 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
Selenium
Learn More with Madanswer

Related questions

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