Created
November 1, 2021 11:22
-
-
Save muditlambda/c234985041bcc3654047b8b70f64804b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| import org.openqa.selenium.firefox.FirefoxDriver; | |
| import org.openqa.selenium.firefox.FirefoxOptions; | |
| import org.testng.annotations.AfterTest; | |
| import org.testng.annotations.BeforeTest; | |
| import org.testng.annotations.Parameters; | |
| import org.openqa.selenium.WebDriver; | |
| import java.net.MalformedURLException; | |
| public void testSetUp() | |
| { | |
| FirefoxOptions options = new FirefoxOptions(); | |
| options.setAcceptInsecureCerts(true); | |
| FirefoxDriver driver = new FirefoxDriver(options); | |
| driver.get("https://www.lambdatest.com"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment