Skip to content

Instantly share code, notes, and snippets.

@muditlambda
Last active November 1, 2021 11:30
Show Gist options
  • Select an option

  • Save muditlambda/5ebd0e86487b46da390646eeab370a9d to your computer and use it in GitHub Desktop.

Select an option

Save muditlambda/5ebd0e86487b46da390646eeab370a9d to your computer and use it in GitHub Desktop.
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.edge.EdgeOptions;
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()
{
EdgeOptions options = new EdgeOptions();
options.setAcceptInsecureCerts(true);
WebDriver driver = new EdgeDriver(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