C# 拖放操作在Chrome驱动程序版本76.0.3809.100中不起作用
拖放在chrome驱动程序版本76.0.3809.100中不起作用。 我已经尝试了几个代码块来实现这一点,但是代码运行时没有任何问题,但是没有任何操作发生 Selenium和Chrome驱动程序版本如下所示: Selenium.Webdriver:v3.141.0 Selenium.Webdriver.ChromeDriver:v76.0.3809.68 请找到我用来实现拖放的代码块C# 拖放操作在Chrome驱动程序版本76.0.3809.100中不起作用,c#,visual-studio,selenium,selenium-chromedriver,C#,Visual Studio,Selenium,Selenium Chromedriver,拖放在chrome驱动程序版本76.0.3809.100中不起作用。 我已经尝试了几个代码块来实现这一点,但是代码运行时没有任何问题,但是没有任何操作发生 Selenium和Chrome驱动程序版本如下所示: Selenium.Webdriver:v3.141.0 Selenium.Webdriver.ChromeDriver:v76.0.3809.68 请找到我用来实现拖放的代码块 IAction dragAndDrop1 = builder1.ClickAndHold(source).Mov
IAction dragAndDrop1 = builder1.ClickAndHold(source).MoveToElement(destination).Release(destination).Build();
dragAndDrop1.Perform();
我还尝试了以下代码块
Actions ac= new Actions(driver);
ac.DragAndDrop(source, destination).Build().Perform();