From 8daad39a38b27e67920260f5a85cef7448884fb4 Mon Sep 17 00:00:00 2001 From: Sohel Ahmed Mesaniya Date: Wed, 8 May 2024 19:51:54 +0530 Subject: [PATCH] Fix incorrect documentation of log_js_error https://github.com/Codeception/module-webdriver/issues/25#issuecomment-2100460465 --- src/Codeception/Module/WebDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Codeception/Module/WebDriver.php b/src/Codeception/Module/WebDriver.php index 2c5b578..3d5b7ab 100644 --- a/src/Codeception/Module/WebDriver.php +++ b/src/Codeception/Module/WebDriver.php @@ -272,7 +272,7 @@ * * `ssl_proxy` - sets ssl(https) proxy server url for testing a remote server. * * `ssl_proxy_port` - sets ssl(https) proxy server port * * `debug_log_entries` - how many selenium entries to print with `debugWebDriverLogs` or on fail (0 by default). - * * `log_js_errors` - Set to true to include possible JavaScript to HTML report, or set to false (default) to deactivate. + * * `log_js_errors` - Set to true to include possible JavaScript to HTML report, or set to false (default) to deactivate. This will only work if `debug_log_entries` is set and its value is > 0. Also this will display JS errors as comments only if test fails. * * `webdriver_proxy` - sets http proxy to tunnel requests to the remote Selenium WebDriver through * * `webdriver_proxy_port` - sets http proxy server port to tunnel requests to the remote Selenium WebDriver through *