Skip to content

Commit e8e453e

Browse files
fix warnings
1 parent e267aa3 commit e8e453e

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

NUnit-TestingBot-Sample/ParallelTests.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using OpenQA.Selenium;
1+
using NUnit.Framework;
2+
using OpenQA.Selenium;
23
using OpenQA.Selenium.Chrome;
34
using OpenQA.Selenium.Firefox;
45
using OpenQA.Selenium.Remote;
@@ -90,6 +91,7 @@ public void CleanUp()
9091
{
9192
// Terminates the remote webdriver session
9293
driver.Quit();
94+
driver.Dispose();
9395
}
9496
}
9597
}

NUnit-TestingBot-Sample/SampleTest.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using OpenQA.Selenium;
1+
using NUnit.Framework;
2+
using OpenQA.Selenium;
23
using OpenQA.Selenium.Chrome;
34
using OpenQA.Selenium.Firefox;
45
using OpenQA.Selenium.Remote;
@@ -88,6 +89,7 @@ public void CleanUp()
8889
{
8990
// Terminates the remote webdriver session
9091
driver.Quit();
92+
driver.Dispose();
9193
}
9294
}
9395
}

0 commit comments

Comments
 (0)