我应该在哪里添加以下语句
System.setProperty("webdriver.gecko.driver","//home//tuser//software//selenium//gecko_driver//geckodriver");
这样我的代码就不会产生错误
public class class1 {
public static String baseURL = "https://facebook.com/";
public WebDriver driver = new FirefoxDriver();
@Test(priority = 1)
public void login() throws InterruptedException {
driver.get(baseURL);
driver.manage().window().maximize();
driver.findElement(By.id("username")).sendKeys("srikanth");
driver.findElement(By.id("password")).sendKeys("sri");
driver.findElement(By.id("login_button")).click();
Thread.sleep(30000);
}