通过getText() 方法返回为空,
通过String req = wd.findElement(By.id("req")).getAttribute("value"); 解决
最后
以上就是清秀音响最近收集整理的关于Selenium 获取web页面Textarea内的文本信息的全部内容,更多相关Selenium内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
通过getText() 方法返回为空,
通过String req = wd.findElement(By.id("req")).getAttribute("value"); 解决
以上就是清秀音响最近收集整理的关于Selenium 获取web页面Textarea内的文本信息的全部内容,更多相关Selenium内容请搜索靠谱客的其他文章。
发表评论 取消回复