示例#1
0
 protected virtual bool OnHasParent()
 {
     return(Parent.Exists(SearchOptions.SafelyAtOnce()));
 }
示例#2
0
        protected override void SetValue(bool value)
        {
            if (Value != value)
            {
                Scope.Click();

                SwitchHandle.WaitForCssTransitionEnd("switch", DefaultAnimationWaitingOptions, SearchOptions.SafelyAtOnce());
            }
        }
示例#3
0
 public TOwner WaitUntilClosed(RetryOptions waitingOptions = null)
 {
     return(this.WaitForCssTransitionEnd("close", waitingOptions ?? DefaultAnimationWaitingOptions, SearchOptions.SafelyAtOnce()));
 }