While using the Chrome webdriver, I get "Data:," in the address bar instead of the actual web address, "http://host.docker.internal." Any ideas on how to fix this? I'm using docker (selenium/standalone-chrome-debug:latest and tried selenium/standalone-chrome:3.14). I can add $I->pause()
to a test and manually go to "http://host.docker.internal." Any ideas?
Directory structure:
/ Codeception/
+ tests/
+ acceptance/
+ codeception.yml
+ composer.json
/ JS
/ Symfony
index.html
# codeception.yaml
suites:
acceptance:
actor: AcceptanceTester
modules:
enabled:
- WebDriver:
url: 'http://host.docker.internal'
browser: chrome
window_size: 1280x720
restart: true
- \Helper\Acceptance
step_decorators:
- Codeception\Step\Retry
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
- Codeception\Extension\Logger:
max_files: 5
paths:
tests: tests
output: tests/_output
data: tests/_data
support: tests/_support
envs: tests/_envs
log: tests/_output
settings:
log: true
lint: false
Note: we are trying to separate out our Codeception tests from Symfony so that Codeception's Symfony requirements do not conflict with ours.