[英]Drag and Drop not working in Chrome Driver Version 76.0.3809.100
拖放在Chrome驱动程序版本76.0.3809.100中不起作用。 我已经尝试了几个代码块来实现此目的,但是代码运行时没有任何问题,但是没有任何动作。
Selenium和Chrome驱动程序版本如下:Selenium.Webdriver:v3.141.0 Selenium.Webdriver.ChromeDriver:v76.0.3809.68
请找到我用来实现拖放的代码块
IAction dragAndDrop1 = builder1.ClickAndHold(source).MoveToElement(destination).Release(destination).Build();
dragAndDrop1.Perform();
我也尝试了以下代码块
Actions ac= new Actions(driver);
ac.DragAndDrop(source, destination).Build().Perform();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.