I work with Yii2. Just starting to learn how to write tests. Installed Codeception. I try to run an acceptance test, but I fall with an error:

In WebDriverException.php line 106:

POST / session / dac1b4f2-ee4d-4692-80f2-ae2da2cf287b / timeouts / implicit_wait
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08: 25: 53'
System info: host: 'alexchep-ubuntu', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-139-generic', java .version: '1.8.0_191'
Driver info: driver.version: unknown

As a server, I tried both pure Selenium and WebDriver Manager (Selenium with ready-made drivers for chrome and firefox).

If you just use PhpBrowser, then everything works, the test passes. And if I turn on WebDriver, then firefox (chrome) is launched, but does not go through the url, but just hangs open and at the same time an error is spilled into the console (which is higher).

Here is the config of my acceptence.suite.yml:

class_name: AcceptanceTester modules: enabled: # - PhpBrowser - \Helper\Acceptance - WebDriver config: # PhpBrowser: # url: http://swiftfull.ll/ WebDriver: url: http://swiftfull.ll/ browser: firefox restart: true window_size: 1024x768 

I go to my local machine. I tried to separately install drivers for chrome and Mozilla, it did not help. I understand that most likely something with the drivers, judging by the error, but Google has already gone up and down and could not find a solution. Maybe I'm missing something, maybe someone has already encountered a similar situation. I will be grateful for any help, advice. Thank.

    0