Fixed "must be an instance of string, string given" error in WebDriverEx...

...pectedCondition.php

PHP type hinting does not work for strings.