knpuniversity / behat

Screencast code, script and kittens behind "BDD, Behat, Mink and other Wonderful Things Tutorial"
http://knpuniversity.com/screencast/behat
Other
12 stars 14 forks source link

Add note about new Selenium 3.0 server #38

Closed bocharsky-bw closed 7 years ago

bocharsky-bw commented 7 years ago

Fix https://github.com/KnpLabs/KnpUniversity/issues/701

The release note is: https://github.com/SeleniumHQ/selenium/releases

ping @weaverryan

weaverryan commented 7 years ago

👍 Is there anything else important that has changed for 3.0?

bocharsky-bw commented 7 years ago

@weaverryan Actually, yes, we should use geckodriver for the newest version. But I can't figure out yet how to configure Behat with it properly and make it works.

weaverryan commented 7 years ago

Hmm, I thought that might be the case. Don't you just need to have this (and Selenium) running in the background? It sounds similar to the chromedriver, which worked like this (Behat doesn't know that chromedriver is running - you just set the browser, it tells Selenium about the browser, and then it uses the chromedriver in the background)

bocharsky-bw commented 7 years ago

Ok, I improve the note a bit... Well, so far I stuck on this bug https://github.com/SeleniumHQ/selenium/issues/2285 for When I press "search_submit" step. And looks like it bug was opened on Jun and still isn't closed. So, unfortunately, Firefox with Selenium 3 server for Behat tests isn't functional as for me yet or I missed its setup on my local machine. But I double checked and it doesn't work.

UPD: But Chrome works fine for me.

weaverryan commented 7 years ago

I like it, thanks!