コード例 #1
0
        public void Checkout()
        {
            _interactionUtils.ScrollToElement(_driver, _cartPage.SecureCheckout);
            var element = _waitUtils.WaitUntilElementIsVisible(_driver, _cartPage.SecureCheckout);

            _interactionUtils.DoubleClick(_driver, element);
            Thread.Sleep(3000);
        }
コード例 #2
0
        public void AddToCart()
        {
            var element = _interactionUtils.ScrollToElement(_driver, _itemDetailsPage.AddToCartBtn);

            element.Click();
        }