示例#1
0
 public WebElementWrapper(WebElementWrapper parentElementWrapper, By by)
 {
     this._driver       = parentElementWrapper.Driver;
     this.SearchContext = parentElementWrapper;
     this.by            = by;
 }
示例#2
0
 public WebElementWrapper(IWebElement element, DriverWrapper driver = null)
 {
     this.WrappedElement = element;
     this._driver        = driver;
 }
示例#3
0
 public WebElementWrapper(DriverWrapper driver, By by)
 {
     this._driver       = driver;
     this.SearchContext = driver;
     this.by            = by;
 }
示例#4
0
 public SelectElementWrapper(DriverWrapper driver, By by)
 {
     this._element = new WebElementWrapper(driver, by);
     this.by       = by;
 }