Behat/Mink — Issue #130: GoutteDriver Doesn't Pass Referer
Author: grahamc
Created: 2011-11-22 19:42:20+00:00
State: open

It seems as though GoutteDriver should be passing the referer when going to new pages, currently it does not - making it very difficult to test my application.

Provided is a .feature file demonstrating the failure.

## pass-referer.feature
```cucumber
Feature: Pass referer
In order to test websites
As a respectful browser
I need to pass the referer

Scenario: Clicking a link should pass the referer.
Given I am on "/a.php"
And I follow "Go to B"
Then I should see "/a.php" in the "#referer" element
```

## a.php

```html
Go to B
```

## b.php

```php

```