Closed rgembalik closed 10 years ago
check your selenium logs as well, to see whether the error was on selenium side
Nothing weird (at least for me):
EDIT: These are logs from start with two behat tests fails - at 15:13:42 and 15:14:04
C:\dev>java -jar selenium-server-standalone-2.43.1.jar
15:13:23.300 INFO - Launching a standalone server
15:13:23.434 INFO - Java: Oracle Corporation 25.20-b23
15:13:23.435 INFO - OS: Windows 8.1 6.3 amd64
15:13:23.443 INFO - v2.43.1, with Core v2.43.1. Built from revision 5163bce
15:13:23.559 INFO - RemoteWebDriver instances should connect to: http://127.0.0.1:4444/wd/hub
15:13:23.560 INFO - Version Jetty/5.1.x
15:13:23.561 INFO - Started HttpContext[/selenium-server,/selenium-server]
15:13:23.653 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@2a18f23c
15:13:23.654 INFO - Started HttpContext[/wd,/wd]
15:13:23.654 INFO - Started HttpContext[/selenium-server/driver,/selenium-server/driver]
15:13:23.654 INFO - Started HttpContext[/,/]
15:13:23.658 INFO - Started SocketListener on 0.0.0.0:4444
15:13:23.658 INFO - Started org.openqa.jetty.jetty.Server@4769b07b
15:13:42.256 INFO - Executing: [new session: Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]])
15:13:42.267 INFO - Creating a new session for Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]
15:13:46.142 INFO - Done: [new session: Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]]
15:14:04.327 INFO - Executing: [new session: Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]])
15:14:04.329 INFO - Creating a new session for Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]
15:14:07.166 INFO - Done: [new session: Capabilities [{browserVersion=8, browser=firefox, browserName=firefox, version=, platform=ANY}]]
I started selenium with -debug and this is log from single feature test https://gist.github.com/rgembalik/40cb5253797c7df45566 It does have status 500 somewhere, but I am not sure exactly what it applies to. I hope you'll read more from it.
@stof Any idea where should I go next and/or what to change? Is this problem with my setup?
@stof I checked out newest version with composer instead of phars and it works as it should.
ah, I missed the fact that you were using the old phar archives. We don't provide phars anymore. They are fine for standalone tools, but not really for libraries (either you don't include the dependencies and using the phar is a pain, or you include them and it becomes a pain with duplicate dependencies in the project)
I am having problem running mink + behat combo. The scenario looks as follows:
And I get the following result https://gist.github.com/rgembalik/fe7e8dbbe53d2ee8669b
behat.yml looks like this:
Selenium session is created and firefox is launching, but no url is inserted. Sessions stays registered in selenium (it is visible under http://127.0.0.1:4444/wd/hub).
Any idea and/or suggestions?
EDIT: BTW, when I try it without
@javascript @insulated
it works just fine and the test passes. I have problems only with selenium.