Answer the question
In order to leave comments, you need to log in
How to resolve "Expected 1 arguments but found 2" error in idea?
How to resolve "Expected 1 arguments but found 2" error?
The code:
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class MainClass {
public static void main(String[] args) {
System.setProperties("webdriver.gecko.driver","/Users/Mac/IdeaProjects/test-selenium2/drivers/geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.get("https://www.selenium.dev/");
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question