-
-
Save angiejones/abfc846aed634f3917937952d5caec44 to your computer and use it in GitHub Desktop.
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