Danger

This is an outdated documentation please read the new Monofony documentation instead.

How to change Behat application base urlΒΆ

By default Behat uses https://localhost:8080/ as your application base url. If your one is different, you need to create behat.yml files that will overwrite it with your custom url:

# behat.yml

imports: ["behat.yml.dist"]

default:
    extensions:
        Behat\MinkExtension:
            base_url: http://my.custom.url