trex/codeception-selenium

There is no license information available for the latest version (3.4.1) of this package.

A extension to start selenium server before acceptance test suite starts and stop it at the end of execution

3.4.1 2017-12-23 22:08 UTC

This package is not auto-updated.

Last update: 2025-06-08 06:08:53 UTC


README

Acceptance test configuration example with recommendable extension PhpBuiltinServer

class_name: AcceptanceTester
extensions:
    enabled:
        - Codeception\Extension\PhpBuiltinServer
        - trex\codeception\selenium\SeleniumExtension
    config:
        Codeception\Extension\PhpBuiltinServer:
            hostname: localhost
            port: 8000
            autostart: true
            documentRoot: web/
            startDelay: 1
modules:
    enabled:
        - \Helper\Acceptance
        - WebDriver:
            url: "http://localhost:8000/index-test.php"
            browser: chrome
            capabilities:
                    chromeOptions:
                      args: ["--headless", "--disable-gpu", "--disable-extensions"]