Last active
January 27, 2020 07:59
-
-
Save eliasnogueira/799b0f12e0ab5dfa8c7ff9cc3798247b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BaseTest { | |
protected WebDriver driver; | |
@BeforeMethod | |
public void setup() { | |
WebDriverManager.getInstance(DriverManagerType.CHROME).setup(); | |
driver = new ChromeDriver(); | |
} | |
@AfterMethod | |
public void tearDown() { | |
driver.quit(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment