These are chat archives for Behat/Behat

8th
Jan 2019
Chris Taylor
@CTaylorGuitar
Jan 08 07:21
Hi, I have a question open on stackoverflow asking how to integrate Behat+MInk to Selenium. I would be grateful if someone would take a look please https://stackoverflow.com/questions/53998021/how-to-link-behat-and-mink-in-docker-to-selenium
Santhosh Palan
@santhoshpalan
Jan 08 09:19
@CTaylorGuitar , Have you tried the below steps :
  1. Add to /etc/hosts
    127.0.0.1 selenium.grid.com

  2. Try to access following on browser and confirm browsers are OK:

    http::selenium.grid.com/4444/wd/hub

  3. Update behat.yml :

    wd_host: http://selenium.grid.com:4444/wd/hub

    Note : You can replace selenium.grid.com with anything

    1. Run test cases
Chris Taylor
@CTaylorGuitar
Jan 08 09:40
@santhoshpalan I'll give it a try, thank you
Santhosh Palan
@santhoshpalan
Jan 08 10:25
Could anyone share the best practice for minimising code duplication Behat. For example : How can I have common user login step in all my scenarios ?