예제 #1
0
 public void GoToWallet(WalletId walletId, WalletsNavPages navPages = WalletsNavPages.Send)
 {
     Driver.Navigate().GoToUrl(new Uri(Server.PayTester.ServerUri, $"wallets/{walletId}"));
     if (navPages != WalletsNavPages.Transactions)
     {
         Driver.FindElement(By.Id($"Wallet{navPages}")).Click();
     }
 }
예제 #2
0
 public void GoToWallet(WalletId walletId = null, WalletsNavPages navPages = WalletsNavPages.Send)
 {
     walletId ??= WalletId;
     Driver.Navigate().GoToUrl(new Uri(ServerUri, $"wallets/{walletId}"));
     if (navPages != WalletsNavPages.Transactions)
     {
         Driver.FindElement(By.Id($"SectionNav-{navPages}")).Click();
     }
 }