In order to automate my test application, I need to open few links in a new window instead of tab.This code should allow you to make changes in HTML source code of target web-element to force its opening in new browser window. Targeting windows allows the document writer to assign names to specific windows, and target certain documents to always appear in the window bearing the matching name.Example: Targeted Anchor. anchor text. Using this method, a browser will open a new window or tab each time you click the link.ermcan i ask is there any way to open a link into a new tab instead of a new window? the problem is that you cant force the browser to open in a new tab rather than a new window. that depends on the browsers settings and you cant use location. href in atry putting target"blank" instead of the personalized target. but if it still doesnt work, probably the browser is understanding View PDF. Response.ContentType "Application/pdf" Response.TransmitFile(pathtofile) If you want the PDF to open in a new window you would have to open the downloading page in a new window, for example like this: Instead of loading a stream into to open a link in a new tab, like many sites have eg facebook, facepunch. i only know of < a href"balbla.com>blabla and that redirects. but is there a way ofWill by default open a new window. Allot of people have new windows set to open in a new tab instead. Reloading the Blank Window/Tab. Instead of calling your window blank, you can give it a name of your choosing.Then each link that contains target"external" will open in that window/ tab. Doing this ensures that new windows arent going to be popping up every time a user clicks on a link. I have tried these target various properties but to open a link in new window does not work. As javasricpt is not allowed in Ebay site. I need to do it via some html property.
I am trying to open a link in a new window in chrome! but discovered that target"blank" doesnt work in chrome.