How to click on an element? I'm using C# - MSTest

I need some guidance on clicking on an element in MSTest.

Hello Dipen,

You can refer and add the sample code below to click on an element in C#- MSTest:

// Example: Click on First Check box
IWebElement firstCheckBox = driver.FindElement(By.Name("li1"));
firstCheckBox.Click();