So now how to get the user agent of the embedded browser ? Is there any way to get this?
To get the user-agent string do the following:
Vaadin7:
WebBrowser webBrowser = Page.getCurrent().getWebBrowser();
webBrowser.getBrowserApplication(); // Get the browser user-agent string.
Vaadin6:
WebBrowser browser = (WebBrowser) myApplication.getMainWindow().getTerminal();