[SalesForce] How to open a Visualforce Page in a tab into the Service Console lightning

How can I open a Visualforce Page in a tab into the Service Console lightning?

I tried with the workspaceAPI openSubTab() method, but the documentation says that Visualforce is not supported as URL parameter.

I also tried launching a force:navigateToUrl event in the openSubTab callback, but it opens the page in the current tab.

Is there any way to open it in a new tab?

Best Answer

Try api 42, as per release notes the disclaimer regarding Visualforce pages has been removed: now you can even open other domain urls via CSP.