module-phpbrowser icon indicating copy to clipboard operation
module-phpbrowser copied to clipboard

PhpBrowser module for Codeception

Results 4 module-phpbrowser issues
Sort by recently updated
recently updated
newest added

Method createResponse() sets the Content-Type to text/html when not present in response. Content-Type is not a required header, so this module should be able to test it's absence with `->dontSeeHttpHeader("Content-Type")`....

If I am trying: ``` php $uri = 'file://some_local.html'; $I->amOnPage($uri); ``` I see: ``` [GuzzleHttp\Exception\RequestException] cURL error 1: Protocol "file" not supported or disabled in libcurl (see http://curl.haxx.se/libcurl/c/libcurl-errors.html) ``` I...

https://github.com/Codeception/Codeception/blob/2.2.2/src/Codeception/Module/PhpBrowser.php#L279 ``` php public function _closeSession($session) { unset($session); } ``` All _closeSession does is unsetting a local variable. To achieve desired effect, $session would have to be passed by reference...

Module REST contains methods for grabbing HTTP headers (grabHttpHeader, seeHttpHeader...). I am convinced that module PHPBrowser should contains these methods, because common pages also can have some special headers (CSP,...