package day3; import org.openqa.selenium.WebDriver; import org.openqa.selenium.edge.EdgeDriver; public class Open_Edge { public static void main(String[] args) { WebDriver driver; driver = new EdgeDriver(); driver.get(“https://www.facebook.com/”); driver.close(); } }
package day2; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; public class open_url { public static void main(String[] args) { WebDriver driver; // create the chrome driver driver = new ChromeDriver(); // url mention driver.get(“https://www.facebook.com/”); driver.close(); } }
package day1; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class OpenURL { public static void main(String[] args) { WebDriver driver; // create the firefox driver driver = new FirefoxDriver(); // url mention driver.get(“https://www.facebook.com/”); driver.close(); } }