Last active
August 31, 2018 12:42
-
-
Save macghriogair/361fac53e5458e632305e457c42ae948 to your computer and use it in GitHub Desktop.
[PhantomJs with Codeception and docker compose] #phantomjs #tests #docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actor: AcceptanceTester | |
modules: | |
enabled: | |
- \Helper\Acceptance | |
- WebDriver: | |
host: phantomjs | |
#host: localhost | |
port: 8910 | |
#port: 4444 | |
#url: 'http://localhost:8080' | |
url: 'http://nginx' | |
browser: phantomjs | |
#window_size: 1280x768 | |
window_size: maximize | |
clear_cookies: true | |
#http_proxy: direct | |
capabilities: | |
browser_name: chrome | |
webStorageEnabled: true | |
extensions: | |
enabled: | |
- Codeception\Extension\RunProcess: | |
- phantomjs | |
- Codeception\Extension\Recorder | |
config: | |
Codeception\Extension\Recorder: | |
delete_successful: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
# ... | |
phantomjs: | |
image: wernight/phantomjs | |
command: phantomjs --webdriver 8910 --local-to-remote-url-access=true --ssl-protocol=any --ignore-ssl-errors=true | |
ports: | |
- "8910:8910" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment