Get the element's HTML and all it's content, including the start tag, it's attributes, and the end tag.
public static string GetSource(this OpenQA.Selenium.IWebElement element);
element OpenQA.Selenium.IWebElement
The OpenQA.Selenium.IWebElement from which to get the outer HTML.
System.String
The HTML element and all it's content, including the start tag, it's attributes, and the end tag.
Works only on Web/Mobile Web platforms.