I am trying to run acceptance tests, but i get this error. I am using yii 2.0.10
Scenario –
WebDriver::debugWebDriverLogs method has been called when webDriver is not set
WebDriver::_saveScreenshot method has been called when webDriver is not set
WebDriver::_savePageSource method has been called when webDriver is not set
Screenshot and page source were saved into ‘/var/www/html/ftdimprensa/tests/_output/’ dir
ERROR
[Symfony\Component\Debug\Exception\FatalThrowableError]
Call to a member function resetPersistentVars() on null
acceptance.suite.yml
class_name: AcceptanceTester
modules:
enabled:
- WebDriver:
url: http://localhost:8080/
browser: chrome
- Yii2:
part: orm
entryScript: index-test.php
cleanup: false
I download selenium and chromedriver and run selenium server, but not working.