facebook/php-webdriver — pull request #73 by SuperFamousGuy (2013-08-13 22:15:37+00:00)
Title: inTitle WebDriverExpectedCondition

In addition to the titleIs Expected Condition which checks for an exact match, inTitle checks that the provided value is a substring of the page title.

Useful for dynamic asserts, or checking for dynamic title content when using a randomized testing environment.