0 votes
in Selenium by
How can you submit a form using Selenium?

1 Answer

0 votes
by
How can you submit a form using Selenium?

The following lines of code will let you submit a form using Selenium:

WebElement el = driver.findElement(By.id(“ElementID”));

el.submit();
...