Redirect to a record or any other page not working for an aura component which is embedded in a VF page. tried force:navigateToURL, but does not work as I get an error that says "object not defined" for e.force:navigateToURL. tried the static URL redirect, this works, but the page opens in the iFrame where the VF page sits on the detail page of the record.
I was hoping to find a way to redirect to a record or any other page from the detail page on which the VF page is embedded to a new page on the browser.
I need it to work for the VF page embedded which is calling an aura component.