As per the documentation, there is in fact no class called WebElement
when using Selenium with C#.NET, even though there exists an interface called IWebElement
which has almost the same functionality. In contrast, when using Selenium with Java, for example, we have the WebElement
class readily available.
What is the purpose of this change in implementation? Why have an interface over a separate class?