@@ -534,16 +534,17 @@ class MyTest extends PantherTestCase
534
534
535
535
There are several environment variables available to configure:
536
536
537
- | Variable | Description | Default |
538
- | ----------------------------| ----------------------------------------------------------------------------------| ------------------------------------|
539
- | ` BROWSER_SOURCE_DIR ` | Directory to save source files to. | ` ./var/browser/source ` |
540
- | ` BROWSER_SCREENSHOT_DIR ` | Directory to save screenshots to (only applies to ` PantherBrowser ` ). | ` ./var/browser/screenshots ` |
541
- | ` BROWSER_CONSOLE_LOG_DIR ` | Directory to save javascript console logs to (only applies to ` PantherBrowser ` ). | ` ./var/browser/console-logs ` |
542
- | ` BROWSER_FOLLOW_REDIRECTS ` | Whether to follow redirects by default (only applies to ` KernelBrowser ` ). | ` 1 ` _ (true)_ |
543
- | ` BROWSER_CATCH_EXCEPTIONS ` | Whether to catch exceptions by default (only applies to ` KernelBrowser ` ). | ` 1 ` _ (true)_ |
544
- | ` KERNEL_BROWSER_CLASS ` | ` KernelBrowser ` class to use. | ` Zenstruck\Browser\KernelBrowser ` |
545
- | ` PANTHER_BROWSER_CLASS ` | ` PantherBrowser ` class to use. | ` Zenstruck\Browser\PantherBrowser ` |
546
- | ` PANTHER_NO_HEADLESS ` | Disable headless-mode and allow usage of ` PantherBrowser::pause() ` . | ` 0 ` _ (false)_ |
537
+ | Variable | Description | Default |
538
+ | ----------------------------| --------------------------------------------------------------------------------------------| ------------------------------------|
539
+ | ` BROWSER_SOURCE_DIR ` | Directory to save source files to. | ` ./var/browser/source ` |
540
+ | ` BROWSER_SCREENSHOT_DIR ` | Directory to save screenshots to (only applies to ` PantherBrowser ` ). | ` ./var/browser/screenshots ` |
541
+ | ` BROWSER_CONSOLE_LOG_DIR ` | Directory to save javascript console logs to (only applies to ` PantherBrowser ` ). | ` ./var/browser/console-logs ` |
542
+ | ` BROWSER_FOLLOW_REDIRECTS ` | Whether to follow redirects by default (only applies to ` KernelBrowser ` ). | ` 1 ` _ (true)_ |
543
+ | ` BROWSER_CATCH_EXCEPTIONS ` | Whether to catch exceptions by default (only applies to ` KernelBrowser ` ). | ` 1 ` _ (true)_ |
544
+ | ` BROWSER_SOURCE_DEBUG ` | Whether to add request metadata to written source files (only applies to ` KernelBrowser ` ). | ` 0 ` _ (false)_ |
545
+ | ` KERNEL_BROWSER_CLASS ` | ` KernelBrowser ` class to use. | ` Zenstruck\Browser\KernelBrowser ` |
546
+ | ` PANTHER_BROWSER_CLASS ` | ` PantherBrowser ` class to use. | ` Zenstruck\Browser\PantherBrowser ` |
547
+ | ` PANTHER_NO_HEADLESS ` | Disable headless-mode and allow usage of ` PantherBrowser::pause() ` . | ` 0 ` _ (false)_ |
547
548
548
549
## Extending
549
550
0 commit comments