using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Interactions; using System; class Program { static void Main(string[] args) { // Create a new instance of the Chrome driver IWebDriver driver = new ChromeDriver(); // Navigate to your web page driver.Navigate().GoToUrl("your_website_url_here"); // Find the element you want to double-click (replace with your element locator) IWebElement elementToDoubleClick = driver.FindElement(By.Id("your_element_id_here")); // Create an Actions object Actions actions = new Actions(driver); // Double-click the element actions.DoubleClick(elementToDoubleClick).Build().Perform(); // You can add additional actions or interactions here if needed // Close the driver when done driver.Quit(); } }