Class InternetExplorerWebElement
InternetExplorerWebElement allows you to have access to specific items that are found on the page.
public class InternetExplorerWebElement : RemoteWebElement, IWebElement, ISearchContext, IFindsByLinkText, IFindsById, IFindsByName, IFindsByTagName, IFindsByClassName, IFindsByXPath, IFindsByPartialLinkText, IFindsByCssSelector, IWrapsDriver, ILocatable, ITakesScreenshot
- Inheritance
-
InternetExplorerWebElement
- Implements
- Inherited Members
Examples
[Test]
public void TestGoogle()
{
driver = new InternetExplorerDriver();
InternetExplorerWebElement elem = driver.FindElement(By.Name("q"));
elem.SendKeys("Cheese please!");
}
Constructors
InternetExplorerWebElement(InternetExplorerDriver, string)
Initializes a new instance of the InternetExplorerWebElement class.
public InternetExplorerWebElement(InternetExplorerDriver parent, string id)
Parameters
parent
InternetExplorerDriverDriver in use.
id
stringID of the element.