1

I recently tried to install PHPUnit and Selenium, but I'm running into some errors:

Fatal error: Call to undefined method PHPUnit_Framework_ExpectationFailedException::getCustomMessage() in /phpunit/phpunit-selenium/PHPUnit/Extensions/SeleniumTestCase.php on line 1041

Did I forget something in my install ? I'm using the last version available on Git.

0

2 Answers 2

1

You should update your version of PHPUnit_Selenium. PHPUnit doesn't include Selenium extension since version 3.6 and you have to install/upgrade it manually.

pear upgrade phpunit/PHPUnit_Selenium

or

pear install phpunit/PHPUnit_Selenium
Sign up to request clarification or add additional context in comments.

Comments

0

Sounds like you need to reinstall - use PEAR

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.