Selenium UnreachableBrowserException - “Could not start a new session” in SoapUI Groovy TestStep

前端 未结 7 1129
终归单人心
终归单人心 2020-12-10 04:41

I use SoapUI Pro 5.1.2 on Win7 x32, and try to connect to Selenium Webdriver in Groovy TestStep.

For this purpose I added selenium-standalone-server.jar

7条回答
  •  时光取名叫无心
    2020-12-10 04:56

    Download latest driver(chrome or IE) from seleniumhq.org, and use below code

        System.setProperty("webdriver.chrome.driver","chromedriver.exe");
        WebDriver driver=new ChromeDriver();
        driver.get("http://www.yahoo.com");
    

    This worked for me.

提交回复
热议问题