supportsCss() && 0 === strpos($testCase, 'Behat\Mink\Tests\Driver\Css\\')) { return 'This driver does not support CSS.'; } if (!$this->supportsJs() && 0 === strpos($testCase, 'Behat\Mink\Tests\Driver\Js\\')) { return 'This driver does not support JavaScript.'; } return null; } /** * Whether the JS tests should run or no. * * @return bool */ protected function supportsJs() { return true; } /** * Whether the CSS tests should run or no. * * @return bool */ protected function supportsCss() { return false; } }