How to click on an element while using NUnit?

How Can I click on an element if I’m using NUnit?

Hi Ana,

You can check and use the sample below:

 Console.WriteLine("Navigating to todos app.");
 driver.Value.Navigate().GoToUrl("https://lambdatest.github.io/sample-todo-app/");

driver.Value.FindElement(By.Name("li4")).Click();
Console.WriteLine("Clicking Checkbox");
driver.Value.FindElement(By.Name("li5")).Click();