You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns file paths seen in `Saved Source Files` into links that open those files right inside your browser
Enable the `Zenstruck\Browser\Test\BrowserExtension` extension
Configure the file link format with the environment variable `BROWSER_FILE_LINK_FORMAT`, the default value is `file://%f#L%l`
Can be overloaded in the `phpunit.xml.dist` for example
```
<server name="BROWSER_FILE_LINK_FORMAT" value="'file://%f#L%l"/>
```
iUseful when running your app in a container or in a virtual machine, see Symfony doc https://symfony.com/doc/current/reference/configuration/framework.html#ide
Copy file name to clipboardexpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -563,6 +563,7 @@ There are several environment variables available to configure:
563
563
|`PANTHER_BROWSER_CLASS`|`PantherBrowser` class to use. |`Zenstruck\Browser\PantherBrowser`|
564
564
|`PANTHER_NO_HEADLESS`| Disable headless-mode and allow usage of `PantherBrowser::pause()`. |`0`_(false)_|
565
565
|`BROWSER_ALWAYS_START_WEBSERVER`| Always start a webserver configured for your current test env before running tests (only applies to `PantherBrowser`). |`0`_(false)_|
566
+
|`BROWSER_FILE_LINK_FORMAT`| Turns file paths seen in `Saved Source Files` into links that open those files right inside your browser |`file://%f#L%l`|
0 commit comments