Skip to content

Instantly share code, notes, and snippets.

View ryangurn's full-sized avatar
🏠
Working from home (nothing new)

Ryan Gurnick ryangurn

🏠
Working from home (nothing new)
View GitHub Profile
@ryangurn
ryangurn / behat-phantomjs-webdriver.md
Created July 1, 2016 23:38 — forked from callado4/behat-phantomjs-webdriver.md
Instructions on how to make behat (with mink) use the phantomjs webdriver to run headless browser tests

Making behat use phantomjs for the tests

If you want to run it on phantomjs (a headless browser) you can add this profile to your behat.yml and you need phantomjs >= 1.8.0

phantomjs:
    extensions:
        Behat\MinkExtension\Extension:
            base_url: http://dev.local
            goutte: ~
            selenium2:
 wd_host: "http://localhost:8643/wd/hub"