WebElement name =
driver.findElement(
By.id("fullname"));
name.sendKeys("John");
WebElement email =
driver.findElement(
By.id("email"));
email.sendKeys("john@test.com");
//input[@id='fullname'] //input[@type='email'] //textarea[@id='address']
sendKeys enters data. getText reads visible text.
Use clear() method.
Automate customer registration form for an e-commerce application.
Fill all fields and verify entered values.