silverstripe-labs/silverstripe-behat-extension — pull request #28 by srizzling (2014-03-19 04:17:37+00:00)
Title: Finds the Specfied Link in a Region

This behat method will find a a specified link in a region via a configurable css selector in the behat.yml via.

For example in the behat.yml file I can define this:

```
SilverStripe\BehatExtension\Extension:
region_map:
Talk60: "[data-title=Test]"
```

Then I can use it in a test like this

```
Given I follow "Select" in the "Test" Region.
```

And it will find the button the in that Region