minkphp / MinkBundle

Mink library integration bundle for Symfony2
MIT License
60 stars 18 forks source link

Error running Selenium #40

Closed factorlabs closed 11 years ago

factorlabs commented 11 years ago

Hi,

I'm trying to run Mink and Selenium with Symfony.

My composer.json:

"behat/symfony2-extension": "*",
        "behat/mink-extension" : "*",
        "behat/mink-browserkit-driver" : "*",
        "behat/mink-selenium-driver":  "*",

My behat.yml:

default:
    extensions:
        Behat\Symfony2Extension\Extension:
            mink_driver: true
        Behat\MinkExtension\Extension:
            default_session: 'symfony2'
            javascript_session: selenium
            selenium: ~
        VIPSoft\DoctrineDataFixturesExtension\Extension:
            fixtures: ~

I'm running selenium using: java -jar selenium-server-standalone-2.28.0.jar

And the error I'm getting is: Unexpected response from Selenium server : ERROR Server Exception: sessionId should not be null; has this session been started yet?

While I'm trying to run tests. Thank you for any suggestions!

stof commented 11 years ago

This bundle was meant to configure Mink 1.3 in symfony. It is deprecated and not compatible with Mink 1.4 (which you are using as you are using Behat 2.4). So I doubt it is the right repo.

You should probably report it in the MinkSeleniumDriver repo

factorlabs commented 11 years ago

Thank you stof!

66Ton99 commented 11 years ago

Fixed in #41