Selenium 获取web页面Textarea内的文本信息

来源:互联网 发布:怎样在淘宝上退货退款 编辑:程序博客网 时间:2024/04/28 15:24


通过getText() 方法返回为空,


通过String req = wd.findElement(By.id("req")).getAttribute("value");   解决



0 0