【发布时间】:2018-03-06 17:48:43
【问题描述】:
我正在尝试选择弹出窗口的文本框:
<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>
我试过了:
webElem <- remDr$findElement("id", "reporterRemarks")
webElem <- remDr$findElement("name", "reporterRemarks")
webElem <- remDr$findElement("xpath", "//*[@id='reporterRemarks']")
一切都失败了。
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
【问题讨论】:
-
出于安全原因,我无法提供网络链接。
-
您收到的错误信息是什么?
标签: r selenium xpath rselenium