A
A
Alexander Tarasov2016-06-05 17:31:48
PHP
Alexander Tarasov, 2016-06-05 17:31:48

How to test individual files in the browser using codeception?

class_name: AcceptanceTester
modules:
    enabled:
        - PhpBrowser:
            url: 'http://localhost/'
        - \Helper\Acceptance
env:
    browser:
        modules:
             enabled:
                - WebDriver:
                   url: 'http://localhost/'
                   browser: firefox
                - \Helper\Acceptance

Test with this config. I have pages (files) such as page1.php, page2.php, I need to execute them in the browser and see the cookies / headers set, which way should I prescribe? Or how to test it at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-06-05
@Nc_Soft

This must be done through selenium or phantomjs

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question