WebBrowserTools open url v2

WebBrowserTools does not have a showWebPage method in v2. What is best way to open a url?

Hi,

It depends on the task. If you need to place a link on the view, you can use the Anchor component representing an <a> HTML element. For example:

<anchor href="url" target="BLANK"/>

For the programmatic navigation, you can use the Page object, e.g.:

UI.getCurrent().getPage().open("<url>", "<optional_window_name>");

Regards,
Gleb

Thanks