Is there a way to click button and open a new link in a new tab?

You can also try the window.open method. It will give you more control. See https://www.w3schools.com/jsref/met_win_open.asp

1 Like