Answer the question
In order to leave comments, you need to log in
Why did an error appear after adding the WebDriver module to Codeception, and how to solve it?
Fatal error: Cannot redeclare _generated\AcceptanceTesterActions::switchToIFrame() in /var/www/html/var/_support/_generated/AcceptanceTesterActions.php on line 3069
actor: AcceptanceTester
modules:
enabled:
- PhpBrowser:
url: ~
curl:
CURLOPT_TIMEOUT: 60
- WebDriver:
url: ~
browser: chrome
- \Helper\Acceptance
- \Helper\DataHelper
- \Helper\UrlHelper
- \Helper\CoreUrlHelper
- \Helper\WordOfTheDayHelper
- Asserts
- REST:
url: https://example.com
depends: PhpBrowser
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question