trex / codeception-selenium

该软件包最新版本(3.4.1)没有可用的许可信息。

在验收测试套件开始前启动selenium服务器,并在执行结束后停止它的扩展。

3.4.1 2017-12-23 22:08 UTC

This package is not auto-updated.

Last update: 2024-09-29 02:49:48 UTC


README

使用推荐扩展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: "https://:8000/index-test.php"
            browser: chrome
            capabilities:
                    chromeOptions:
                      args: ["--headless", "--disable-gpu", "--disable-extensions"]