Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/selenium/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium 硒滑块手柄_Selenium_Selenium Webdriver - Fatal编程技术网

Selenium 硒滑块手柄

Selenium 硒滑块手柄,selenium,selenium-webdriver,Selenium,Selenium Webdriver,我在Selenium中尝试了SliderHandle的代码并运行了该程序,我收到了此错误消息。因此,请任何人建议我这个错误消息的解决方案 无方法签名: org.openqa.selenium.interactions.Actions.clickAndHold() is applicable for argument types: (ManageActSpec$_spock_feature_2_2_closure3_closure4) values: [ManageActSpec$_spock_f

我在Selenium中尝试了SliderHandle的代码并运行了该程序,我收到了此错误消息。因此,请任何人建议我这个错误消息的解决方案 无方法签名:

org.openqa.selenium.interactions.Actions.clickAndHold() is applicable for argument types: (ManageActSpec$_spock_feature_2_2_closure3_closure4) values: [ManageActSpec$_spock_feature_2_2_closure3_closure4@1920887] Possible solutions: clickAndHold(), clickAndHold(org.openqa.selenium.WebElement)

请编辑您的问题并添加您的代码/html。请使用类似slider是什么以及您想做什么的代码进行详细解释?我的意思是你想用selenium一张一张地水平移动吗?或者别的什么?请包括你的代码和HTML