Tagged: Find Element By Name

Selenium C# – Find Element by Name

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