Open Browser from WSL
I´ve set up my current build maven command Maven Comands 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: file://wsl.localhost/
Last modified: 12 March 2024