Styrow.dev
Question 44 of 82

How do we submit a form using selenium WebDriver?

Question

How do we submit a form using selenium WebDriver?

Answer

We can use submit() method to submit a form or we can even use click() method to click submit button which will submit a form.

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


šŸ“² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.