public SubmittedOfflineDepositRequestForm SubmitWithBonus(string bonusName, decimal amount)
        {
            Amount.SendKeys(amount.ToString(CultureInfo.InvariantCulture));
            var bonus = _driver.FindElementWait(By.XPath(string.Format("//span[contains(text(), '{0}')]", bonusName)));

            bonus.Click();
            _driver.ScrollPage(0, 600);
            SubmitButton.Click();
            var tab = new SubmittedOfflineDepositRequestForm(_driver);

            return(tab);
        }
        public SubmittedOfflineDepositRequestForm Submit(decimal amount)
        {
            //var wait = new WebDriverWait(_driver, TimeSpan.FromSeconds(45));
            //wait.Until(x => _driver.FindElementWait(By.XPath("//span[text()='Offline Deposit Request']")));
            _driver.FindElementWait(By.XPath("//span[text()='Offline Deposit Request']"));

            Amount.SendKeys(amount.ToString(CultureInfo.InvariantCulture));
            _driver.ScrollPage(0, 800);
            SubmitButton.Click();
            var tab = new SubmittedOfflineDepositRequestForm(_driver);

            tab.Initialize();
            return(tab);
        }