Created
November 1, 2021 11:26
-
-
Save muditlambda/f0fbaa0dbb6838cf5755622a9e039af4 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.safari.SafariDriver; | |
| import org.openqa.selenium.safari.SafariOptions; | |
| 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() | |
| { | |
| SafariOptions options = new SafariOptions(); | |
| options.setAcceptInsecureCerts(true); | |
| WebDriver driver = SafariDriver(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