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

前端 未结 7 1173
终归单人心
终归单人心 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

    I have encountered the same error, which said:

    org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.

    but chromedriver.exe started fine. I can see it in task manager.

    My environment is as following,

    • windows 7, ultimate, 64 bit system
    • selenium-server-standalone-2.47.1
    • chromedriver 2.19
    • google chrome: 45.0

    After many tries suggested in google results, my final solution is to add 127.0.0.1 localhost to C:\Windows\System32\drivers\etc\hosts.

    Hope to help you!

提交回复
热议问题