public PurchaseForm TypingCardCVV() { var cvv = new GenerateRandomInt(Browser).GetRandomInt(3); new WebDriverWait(Browser, TimeToWait) .Until(d => d.FindElement(CardCVVFieldLocator)).SendKeys(cvv); return(this); }
private static void Main(string[] args) { using (var sim = new QuantumSimulator()) { Console.WriteLine("Random values based on 8 bits "); for (var i = 0; i < 10; i++) { var result = GenerateRandomInt.Run(sim, 8).Result; Console.Write($" {result} "); } Console.WriteLine(string.Empty); Console.WriteLine("Random values based on 16 bits "); for (var i = 0; i < 10; i++) { var result = GenerateRandomInt.Run(sim, 16).Result; Console.Write($" {result} "); } } Console.ReadLine(); }