Skip to content

Commit 81c4616

Browse files
authored
Merge pull request #41 from ThomasLandauer/patch-1
Update PhpBrowser.php: Adding note about IDN and punycode
2 parents 8a7f950 + f7c5f6a commit 81c4616

File tree

1 file changed

+22
-28
lines changed

1 file changed

+22
-28
lines changed

src/Codeception/Module/PhpBrowser.php

+22-28
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,6 @@
2222
*
2323
* If test fails stores last shown page in 'output' dir.
2424
*
25-
* ## Status
26-
*
27-
* * Maintainer: **davert**
28-
* * Stability: **stable**
29-
* * Contact: [email protected]
30-
*
31-
*
3225
* ## Configuration
3326
*
3427
* * url *required* - start url of your app
@@ -42,28 +35,29 @@
4235
* * .. those and other [Guzzle Request options](https://docs.guzzlephp.org/en/latest/request-options.html)
4336
*
4437
*
45-
* ### Example (`acceptance.suite.yml`)
46-
*
47-
* modules:
48-
* enabled:
49-
* - PhpBrowser:
50-
* url: 'http://localhost'
51-
* auth: ['admin', '123345']
52-
* curl:
53-
* CURLOPT_RETURNTRANSFER: true
54-
* cookies:
55-
* cookie-1:
56-
* Name: userName
57-
* Value: john.doe
58-
* cookie-2:
59-
* Name: authToken
60-
* Value: 1abcd2345
61-
* Domain: subdomain.domain.com
62-
* Path: /admin/
63-
* Expires: 1292177455
64-
* Secure: true
65-
* HttpOnly: false
38+
* ### Example (`Acceptance.suite.yml`)
6639
*
40+
* ```yaml
41+
* modules:
42+
* enabled:
43+
* - PhpBrowser:
44+
* url: 'http://localhost' # Internationalized domain names (IDN) need to be passed in punycode
45+
* auth: ['admin', '123345']
46+
* curl:
47+
* CURLOPT_RETURNTRANSFER: true
48+
* cookies:
49+
* cookie-1:
50+
* Name: userName
51+
* Value: john.doe
52+
* cookie-2:
53+
* Name: authToken
54+
* Value: 1abcd2345
55+
* Domain: subdomain.domain.com
56+
* Path: /admin/
57+
* Expires: 1292177455
58+
* Secure: true
59+
* HttpOnly: false
60+
* ```
6761
*
6862
* All SSL certification checks are disabled by default.
6963
* Use Guzzle request options to configure certifications and others.

0 commit comments

Comments
 (0)