Skip to content

Commit 1f6d53a

Browse files
committed
Remove Driver after touch test
1 parent 14d4c43 commit 1f6d53a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

java/client/test/org/openqa/selenium/interactions/touch/TouchTests.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818

1919
import org.junit.runner.RunWith;
2020
import org.junit.runners.Suite;
21+
import org.junit.AfterClass;
2122
import org.openqa.selenium.interactions.touch.TouchDoubleTapTest;
2223
import org.openqa.selenium.interactions.touch.TouchFlickTest;
2324
import org.openqa.selenium.interactions.touch.TouchLongPressTest;
2425
import org.openqa.selenium.interactions.touch.TouchScrollTest;
2526
import org.openqa.selenium.interactions.touch.TouchSingleTapTest;
27+
import org.openqa.selenium.testing.JUnit4TestBase;
2628

2729
@RunWith(Suite.class)
2830
@Suite.SuiteClasses({
@@ -33,4 +35,9 @@
3335
TouchSingleTapTest.class
3436
})
3537
public class TouchTests {
38+
@AfterClass
39+
public static void cleanUpDriver() {
40+
JUnit4TestBase.removeDriver();
41+
}
3642
}
43+

0 commit comments

Comments
 (0)