WebElement element= driver.findElement(By.xpath(""));//定位到元素
Assert.assertTrue(element.getAttribute("value").equals("输入值"));//插入断言,判断是否等于这个元素输入值
使用getAttribute来get你的输入值
Assert.assertTrue(element.getAttribute("value").equals("输入值"));//插入断言,判断是否等于这个元素输入值
使用getAttribute来get你的输入值