Skip to content

Commit

Permalink
Add doc about passing arguments to ChromeDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
robertfausk authored Oct 20, 2022
1 parent 2b0f090 commit a3bc1bb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,25 @@ Have a look at ```PantherTestCaseTrait::$defaultOptions``` for this.
request_timeout_in_ms: 120000
```
#### Example on how to pass arguments to ChromeDriver binary
See also https://chromedriver.chromium.org/logging
```YAML
# in behat.yml enable logging
extensions:
Robertfausk\Behat\PantherExtension: ~
Behat\MinkExtension:
javascript_session: javascript
sessions:
javascript:
panther:
manager_options:
chromedriver_arguments:
- --log-path=/var/www/html/chromedriver.log
- --verbose
```
#### Example on how to test for a downloaded file
```YAML
Expand Down

0 comments on commit a3bc1bb

Please sign in to comment.