public SeleneCollection _With_(_SeleneSettings_ config) { return(new SeleneCollection( this.locator, config )); }
_SeleneSettings_ _SupportsCopyWithOverride_ <_SeleneSettings_> .With( _SeleneSettings_ overrides ) { return(new Configuration( refDriver: overrides.Driver == null ? this._refDriver : new Ref <IWebDriver>(overrides.Driver), refTimeout: overrides.Timeout == null ? this._refTimeout : new Ref <double?>(overrides.Timeout), refPollDuringWaits: overrides.PollDuringWaits == null ? this._refPollDuringWaits : new Ref <double?>(overrides.PollDuringWaits), refSetValueByJs: overrides.SetValueByJs == null ? this._refSetValueByJs : new Ref <bool?>(overrides.SetValueByJs), refTypeByJs: overrides.TypeByJs == null ? this._refTypeByJs : new Ref <bool?>(overrides.TypeByJs), refClickByJs: overrides.ClickByJs == null ? this._refClickByJs : new Ref <bool?>(overrides.ClickByJs), refWaitByJsForNotOverlapped: overrides.WaitByJsForNotOverlapped == null ? this._refWaitByJsForNotOverlapped : new Ref <bool?>(overrides.WaitByJsForNotOverlapped) )); }
_SeleneSettings_ _SupportsCopyWithOverride_ <_SeleneSettings_> .With( _SeleneSettings_ overrides ) { return(new Configuration( refDriver: overrides.Driver == null ? this._refDriver : new Ref <IWebDriver>(overrides.Driver), refTimeout: overrides.Timeout == null ? this._refTimeout : new Ref <double?>(overrides.Timeout), refPollDuringWaits: overrides.PollDuringWaits == null ? this._refPollDuringWaits : new Ref <double?>(overrides.PollDuringWaits), refSetValueByJs: overrides.SetValueByJs == null ? this._refSetValueByJs : new Ref <bool?>(overrides.SetValueByJs), refTypeByJs: overrides.TypeByJs == null ? this._refTypeByJs : new Ref <bool?>(overrides.TypeByJs), refClickByJs: overrides.ClickByJs == null ? this._refClickByJs : new Ref <bool?>(overrides.ClickByJs), refWaitForNoOverlapFoundByJs: overrides.WaitForNoOverlapFoundByJs == null ? this._refWaitForNoOverlapFoundByJs : new Ref <bool?>(overrides.WaitForNoOverlapFoundByJs), _ref_HookWaitAction: overrides._HookWaitAction == null ? this._ref_HookWaitAction : new Ref <Action <object, Func <string>, Action> >(overrides._HookWaitAction) )); }
public SeleneElement _With_(_SeleneSettings_ config) { return(new SeleneElement( this.locator, config )); }
internal SeleneElement( SeleneLocator <IWebElement> locator, _SeleneSettings_ config ) { this.locator = locator; this.Config = config; }
internal SeleneCollection( SeleneLocator <ReadOnlyCollection <IWebElement> > locator, _SeleneSettings_ config ) { this.locator = locator; this.Config = config; }
public SCollectionFilteredWebElementsCollectionSLocator( Condition <SeleneElement> condition, SeleneCollection context, _SeleneSettings_ config ) { this.condition = condition; this.context = context; this.config = config; }
internal SeleneCollection( IList <IWebElement> elementsListToWrap, _SeleneSettings_ config ) : this( new WrappedWebElementsCollectionSLocator(elementsListToWrap), config ) { }
internal SeleneElement( By locator, _SeleneSettings_ config ) : this( new SearchContextWebElementSLocator( locator, config ), config ) { }
internal SeleneCollection( By locator, _SeleneSettings_ config ) : this( new SearchContextWebElementsCollectionSLocator( locator, config ), config ) { }
public Browser With(_SeleneSettings_ config) { return(new Browser(this.Config.With(config))); }
internal SeleneElement(IWebElement elementToWrap, _SeleneSettings_ config) : this(new WrappedWebElementSLocator(elementToWrap), config) { }
IWebElement SeleneContext.FindElement(By by) { _SeleneSettings_ self = this; return(self.Driver.FindElement(by)); }
internal SeleneDriver(IWebDriverSource source, _SeleneSettings_ config) { this.source = source; this.config = config; }
internal SeleneDriver(_SeleneSettings_ config) : this(new ConfigDriverSource(config), config) { }
public ConfigDriverSource(_SeleneSettings_ config) { this.config = config; }
public SeleneDriver _With_(_SeleneSettings_ config) { return(new SeleneDriver( config )); }
public Browser(_SeleneSettings_ config) { this.Config = config; }
ReadOnlyCollection <IWebElement> SeleneContext.FindElements(By by) { _SeleneSettings_ self = this; return(self.Driver.FindElements(by)); }