Open Browser from WSL
I've set up my current build maven command Maven Command Details to launch the test report in the browser
In particular, there is no start
command on WSL(Ubuntu), so let's define one that will allow us to open the default browser with the help of powershell:
.zshrc
alias start="powershell.exe /c start"
That's all! Now the start call will open the report in:
start target/site/surefire-report.html
Your browser will open the file on WSL file system: WSL file system path
31 May 2025