symfony/symfony — pull request #4035 by colinfrei (2012-04-20 13:19:50+00:00)
Title: [DomCrawler] Allow selecting by Select value

This allows setting the value of a select node by passing in the name of the option instead of the value (`NAME`).

I needed this when trying to select a value from a select field where the value is the database id (that will change) and the name is the value that stays the same.

Bug fix: no
Feature addition: yes
Backwards compatibility break: I think not
Symfony2 tests pass: yes [![Build Status](https://secure.travis-ci.org/colinfrei/symfony.png?branch=master)](http://travis-ci.org/colinfrei/symfony)
Fixes the following tickets: -
Todo: -