コード例 #1
0
 public static By CreateLocator(this WebBrowserControl webcontrol, String locator)
 {
     return(SeleniumWebElementWrapper.CreateLocator(locator));
 }
コード例 #2
0
 public static IWebElement FindElement(this WebBrowserControl webcontrol, string locator)
 {
     return(webcontrol.GetWebDriver().FindElement(SeleniumWebElementWrapper.CreateLocator(locator)));
 }
コード例 #3
0
 public static ReadOnlyCollection <IWebElement> FindElements(this WebBrowserControl webcontrol, string locator)
 {
     return(webcontrol.GetWebDriver().FindElements(webcontrol.CreateLocator(locator)));
 }
コード例 #4
0
 public static IWebDriver GetWebDriver(this WebBrowserControl webcontrol)
 {
     return(webcontrol.InternalDriver.UnderlyingObject as IWebDriver);
 }