Beispiel #1
0
 internal FillInWith(Element element, Driver driver, RobustWrapper robustWrapper, DriverScope scope, Options options)
 {
     this.element = element;
     this.driver = driver;
     this.robustWrapper = robustWrapper;
     this.scope = scope;
     this.options = options;
 }
Beispiel #2
0
 public Button(ElementAttribute attribute, BrowserSession browser, Options findOptions, Coypu.Element element = null) : base(attribute, browser, findOptions, element)
 {
 }
Beispiel #3
0
 public FillInWith(Element element, Driver driver, RobustWrapper robustWrapper)
 {
     this.element = element;
     this.driver = driver;
     this.robustWrapper = robustWrapper;
 }
Beispiel #4
0
 private void Choose(Coypu.Element element)
 {
     Browser.Driver.Choose(element);
 }
Beispiel #5
0
 protected Element(ElementAttribute attribute, BrowserSession browser, Options findOptions, Coypu.Element element = null)
     : base(attribute, browser, findOptions)
 {
     coypuElement = element;
 }
Beispiel #6
0
 /// <summary>
 /// Fill in a previously found text field
 /// </summary>
 /// <param name="element">The text field</param>
 /// <returns>With</returns>
 public FillInWith FillIn(Element element, Options options = null)
 {
     return new FillInWith(element, driver, robustWrapper, this, SetOptions(options));
 }
Beispiel #7
0
 public void Click(Element element)
 {
     robustWrapper.Robustly(() => driver.Click(element));
 }
Beispiel #8
0
 public FillInWith FillIn(Element element)
 {
     return new FillInWith(element, driver, robustWrapper);
 }
Beispiel #9
0
 protected Field(ElementAttribute attribute, BrowserSession browser, Options options, Coypu.Element element = null)
     : base(attribute, browser, options, element)
 {
 }