From a3bc1bbbb712e2eadef36ff9c9c881f62d8165cd Mon Sep 17 00:00:00 2001 From: Robert Freigang Date: Thu, 20 Oct 2022 11:56:57 +0200 Subject: [PATCH] Add doc about passing arguments to ChromeDriver --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index c40e576..97eda59 100644 --- a/README.md +++ b/README.md @@ -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