From 0c0759462a6bee4bcf30935eb813a8e931650574 Mon Sep 17 00:00:00 2001 From: Thiago Souza Date: Fri, 24 Jan 2020 15:38:11 -0300 Subject: [PATCH 1/2] fix bug btn class and version selenium.webDriver --- SeleniumNUnitParam/BrowserTest.cs | 2 +- SeleniumNUnitParam/packages.config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SeleniumNUnitParam/BrowserTest.cs b/SeleniumNUnitParam/BrowserTest.cs index d3e4d2c..4c484f9 100644 --- a/SeleniumNUnitParam/BrowserTest.cs +++ b/SeleniumNUnitParam/BrowserTest.cs @@ -18,7 +18,7 @@ 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(); + Driver.FindElement(By.Name("btnK")).Click(); Assert.That(Driver.PageSource.Contains("Selenium"), Is.EqualTo(true), "The text selenium doest not exist"); diff --git a/SeleniumNUnitParam/packages.config b/SeleniumNUnitParam/packages.config index 28363e1..304477c 100644 --- a/SeleniumNUnitParam/packages.config +++ b/SeleniumNUnitParam/packages.config @@ -2,7 +2,7 @@ - + From 1569d6c64928dda3556390754e2cd91ebacfd1b4 Mon Sep 17 00:00:00 2001 From: Thiago Souza Date: Fri, 24 Jan 2020 16:02:23 -0300 Subject: [PATCH 2/2] fix bug version selenium drive --- SeleniumNUnitParam/SeleniumNUnitParam.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SeleniumNUnitParam/SeleniumNUnitParam.csproj b/SeleniumNUnitParam/SeleniumNUnitParam.csproj index de24066..ff05a0b 100644 --- a/SeleniumNUnitParam/SeleniumNUnitParam.csproj +++ b/SeleniumNUnitParam/SeleniumNUnitParam.csproj @@ -99,12 +99,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - +