I have simple task in Intellij Idea CE, after clicking Run(Shift+F10), browser must open some page, for example http://localhost:8080
. How to do that?
I can't find reliable option in Edit configurations.
In the "Edit configurations" there's a checkbox for "Start browser" under the "Server" tab in a server configuration.
You can add various steps to be executed before launch in the Edit Configurations...
window. Just add step "External tool", create a new tool pointing to the browser exe, and pass the desired URL (like http://localhost.8080) as a parameter.
If you use Chrome as a browser, you may want to use Only One extension to reuse the existing Tab/Window with the URL when it is already open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With