How to integrate JUnit with LambdaTest?
Hi Mark,
You can integrate JUnit with LambdaTest by following the sample script below:
String username = System.getenv("LT_USERNAME") == null ? "Your LT Username" : System.getenv("LT_USERNAME");
String accessKey = System.getenv("LT_ACCESS_KEY") == null ? "Your LT AccessKey" : System.getenv("LT_ACCESS_KEY");
public String gridURL = "@hub.lambdatest.com/wd/hub";
//Address of remote hub
driver = new RemoteWebDriver(new URL("https://" + username + ":" + accessKey + gridURL), capabilities);