Tagged: Find Element By TagName

Selenium C# – Find Element by TagName

The below code can be used to detect any element on a WebPage by TagName using Selenium in C# //HTML Code <button class=’login’>Login</button> //Corresponding Selenium C# Code WebDriver.FindElementByTagName(“button”).Click(); //Code when there is Custom function...