Aug 22, 2019 in Selenium
Q: How to submit a form using Selenium WebDriver?

1 Answer

0 votes
Aug 22, 2019
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
Click here to read more about Selenium
Click here to read more about Insurance

Related questions

0 votes
Aug 22, 2019 in Selenium
...