I need to add a value to a cell in a table. I have code to look for the cell and click in it, but I am unable to set a value into that field, as I dont see an option to do that. I am attaching the code that I have for it so far. Can someone help me with setting the value into this field?
for (int column = 0; column < columns_count; column++) {
'elements with class of span, from each cell'
List<WebElement> divspanElements = Columns_row.get(column).findElements(By.tagName('span'))
int divspanElements_count = divspanElements.size()
for (int divSpan = 0; divSpan < divspanElements_count; divSpan++) {
List<WebElement> divinputElements = Columns_row.get(column).findElements(By.tagName('input'))
int divinputElements_count = divinputElements.size()
for (int divInput = 0; divInput < divinputElements_count; divInput++) {
divinputElements.get(divInput).click()