From e7684c5f79bbbc72b3be6a2275b2d928766e58a7 Mon Sep 17 00:00:00 2001 From: naveenkodam2406 <110342958+naveenkodam2406@users.noreply.github.com> Date: Thu, 22 Sep 2022 12:06:56 +0530 Subject: [PATCH] Update BrowserTest.cs --- SeleniumNUnitParam/BrowserTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeleniumNUnitParam/BrowserTest.cs b/SeleniumNUnitParam/BrowserTest.cs index d3e4d2c..87febe4 100644 --- a/SeleniumNUnitParam/BrowserTest.cs +++ b/SeleniumNUnitParam/BrowserTest.cs @@ -17,8 +17,8 @@ public void GoogleTest() { Driver.Navigate().GoToUrl("http://www.google.com"); Driver.FindElement(By.Name("q")).SendKeys("Selenium"); - System.Threading.Thread.Sleep(5000); Driver.FindElement(By.Name("btnG")).Click(); + System.Threading.Thread.Sleep(5000); Assert.That(Driver.PageSource.Contains("Selenium"), Is.EqualTo(true), "The text selenium doest not exist");