How to use Action class to send value in C#?
Hello Emma-crepeau,
You can use below line of code:
Actions a = new Actions(driver);
IWebElement lastName = driver.FindElement(By.XPath("//div[text()='Last Name']/preceding-sibling::input"));
a.SendKeys(lastName, "Value_that_needs_to_be_sent");