This is my code:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class lakshmi {
static WebDriver driver = new FirefoxDriver();
public static void main() {
tc1();
}
public static void tc1() {
driver.get("www.google.com");
}
}
I get this error message:
Error: Main method not found in class nissan.lakshmi, please define the main method as:
public static void main(String[] args)