My table consists of cells that users can edit by clicking on them, with the entered values saved in the database. However, when attempting to use the 'sendKeys' method to enter text in these cells, I encounter difficulties. After trying the 'executeScript' method and modifying the 'innerHTML' content of the cell, I am able to see the expected text being written within the cell. Unfortunately, this data is not actually being saved in the database.
WebElement w ;
fw.executeScript("arguments[0].innerHTML='55'",
w)
I need assistance in identifying what might be the issue with this approach.