In selenium for inputbox, we can enter value like :
WebElement inputBox = driver.findElement(By.xpath(xpath)));
inputBox.sendKeys(\"abc\");
Sendkeys is used to type in the input field with tag name 'input' You cannot use sendkeys here
Rather you will have to use JavascriptExecutorto do this
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("document.getElementById('Div_Id').innerHTML="+ DesiredText);
You can update the DIV text using JavaScript
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("document.getElementById('Div_Id').innerHTML="+ DesiredText);
Using XPATH in JavaScript
JavascriptExecutor js = (JavascriptExecutor) driver;
js.executeScript("document.evaluate(xpathExpresion, document, null, 9, null).singleNodeValue.innerHTML="+ DesiredText);
Reference
You cannot edit this div using send keys as it has no Input to send to. Instead, try and edit the text field of the div.