I am trying to select the textbox of a popup:
<textarea name="reporterRemarks" rows="5"
onchange="javascript:document.itemActionForm.remarksUpdateFlag.value =
'Y';document.itemActionForm.updateFlag.value = 'Y';" id="reporterRemarks"
class="form-control fixed-width-font"></textarea>
I've tried:
webElem <- remDr$findElement("id", "reporterRemarks")
webElem <- remDr$findElement("name", "reporterRemarks")
webElem <- remDr$findElement("xpath", "//*[@id='reporterRemarks']")
All have been unsuccessful.
Error: Summary: NoSuchElement
Detail: An element could not be located on the page using the given search parameters.
class: org.openqa.selenium.NoSuchElementException
Further Details: run errorDetails method