I'm doing a project where I need to grab the system date and insert it a txtbox.
I tried following but doesn't seem to work for me, I'm new to C# as well as Selenium, so I might be doing something silly.
query = driver.FindElement(By.Name("txtbox"));
DateTime y = DateTime.Today;
query.SendKeys("y");