鼠标悬停操作,使用如下方法:
Actions builder = new Actions(driver); builder.moveToElement(driver.findElement(locator)).perform();
运行后报错:
org.openqa.selenium.UnsupportedCommandException: POST /session/1ce344a0-0d7b-4162-8421-359ef5c24f4a/moveto did not match a known command (WARNING: The server did not provide any stacktrace information)
哪位大神有比较好的鼠标悬停的方法,求指导!!