Clearing the content of a web element: (note - when simulating user actions in tests, it's better to send backspace, see next action)
interactionWebElement.clear();
Entering data - simulating sending keystrokes:
interactionWebElement.sendKeys("Text");
interactionWebElement.sendKeys(K...