Chapter 5

JUnit 5 with Selenium & Maven — quiz

5 questions · ~4 min

Chapter 5 quiz

Question 1 of 5

You want a WebDriver instance created before each JUnit 5 Selenium test and quit after each test, without duplicating setup code across test classes. What is the cleanest JUnit 5 approach?