How to render webview on the same window in lightning js App?

I want to render webview in my lightning js application. I have used window.open(‘https://domain/#/view’,'_blank’).focus(); but I am getting problem that the webview open in new tab, but I want to be open in the same tab.

_blank tells it to open in a new tab, replace that with “_self”

2 Likes