flow icon indicating copy to clipboard operation
flow copied to clipboard

BrowserLauncher.launch() options to launch another browser than default

Open sveine opened this issue 1 year ago • 0 comments

Describe your motivation

I use firefox as my default browser, but chrome for dev. When trying Vaadin samples it would be nice to set a spring property vaadin.launch-browser-options="{...}". When JDK_JAVA_OPTIONS=-Dvaadin.launch-browser-options="{app: {name: 'chrome'}" is set it always work correct for me and launch chrome

Describe the solution you'd like

image

Always chrome image

or in application.properties

image

or as a VM Option

image

sveine avatar Oct 08 '22 09:10 sveine