Hi Shaibya, some of the commands used to interact with Web elements are:
1. clear( ) : Clears the text entry made to an element.
driver.findElement(By.id("UserName")).clear();
2. sendKeys(String keysToSend ) : This simulate typing into an element, which may set its value.
driver.findElement(By.id("UserName")).sendKeys("ABC");
3. click( ) : Simulates the clicking of any element.
driver.findElement(By.linkText("Application")).click();
4. isDisplayed( ) : Determines if an element is currently being displayed or not.
boolean staus = driver.findElement(By.id("UserName")).isDisplayed();
5. isEnabled( ) : Determines if the element currently is Enabled or not.
boolean staus = driver.findElement(By.id("Conditions")).isEnabled();
6. isSelected( ) : Determine whether or not this element is selected or not.
boolean staus = driver.findElement(By.id("Gender")).isSelected();