lundi 12 septembre 2016

java.lang.IllegalStateException -- in Selenium

I am trying to execute a basic test program with selenium framework in eclipse, but i am getting a java.lang.IllegalStateException error. i have added all the jar files and i am using selenium 3.0.0 beta (java).

`import org.openqa.selenium.WebDriver;

import org.openqa.selenium.firefox.FirefoxDriver;

public class test {

enter image description herepublic static void main(String[]args){

    WebDriver driver = new FirefoxDriver();
    driver.get("https://www.google.com");

}

}`

Aucun commentaire:

Enregistrer un commentaire