Opening Link in New Browser Window

I am working on an automation project that involves an email account. When I click on the icon on the top right corner, there is a ‘View Account’ link when clicked automatically opens a new tab with the user account information. There is no direct link, this only happens when you do ‘Click Element’.

I’d rather open in a new browser window. So I used ${variable}= Get Element Attribute

xpath://*[@id=‘vieAccount’] href then Execute Javascript window.open(‘${variable}’,‘_blank’); but it still only opens in a new tab instead of a new window. What’s wrong?

Hi Nina,

As you have the url in ${variable}, can you use Open Browser?

Dave.

Per definition, tab is a new window.

I don’t know if you can force it to open “detached”, but an alternative is to use a different webdriver, like Firefox if you are using Chrome.