/BaseTests.java Secret
Created
January 29, 2021 04:31
Playwright Java - launch browser
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
package base; | |
import com.microsoft.playwright.*; | |
import org.testng.annotations.BeforeClass; | |
public class BaseTests { | |
private Browser browser; | |
@BeforeClass | |
public void setUp(){ | |
browser = Playwright | |
.create() | |
.chromium() | |
.launch(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment