我想基于excel(Apache POI)
的值在页面中移动Slider在Excel中,我将answer_weight的值设为" 98"
这是我使用的代码。当我运行代码时,Slider设置为" 53"但我想将滑块设置为98.你能帮忙吗
Actions action = new Actions(driver);
action.click(answerweight).build().perform();
for (int i = 100; i >= answer_weight; i--)
{
action.sendKeys(Keys.RIGHT).build().perform();
}