Open link in new tab using Chrome driver and C#?

gardentools at 17h58
17
Feb
2012
Open link in new tab using Chrome driver and C#?

Hi everyone,

I'm having a problem getting Selenium to act as though a link was clicked to open it up in a new tab, rather than in a new window which the link defaults to. I'm using the Chrome driver and C# in visual studio.

I know that in chrome normally if you hold down the control key and then click a link as normal with the left mouse button it will open in a new tab. However I seem to be failing to achieve this. So far I have the code:

driver [......]
About
This topic belongs to the forum
  • Numbers of topics : 2338
  • Numbers of messages : 6053
  • Numbers of users : 5036
  • Numbers of points : 142
Similar topics
hi, how to open a browser in selenium web driver
FireFox and IE run fine in windows 7 but Chrome is a continual problem. I was getting the Aw Shucks window but I installed the standalone Chrome for all users and updated to the most current ChromeDriver. Now it brings up a chrome window that is blank
is it possible to make every link in my forum open in a new tab?
Hi How can we open multiple tabs and put the url in all the tabs invoked in webdriver selenium. Please Help
Hi, I want to use chrome as external browser in selenium. I am using eclipse and followed below steps: Eclipse Menu--> Window--> Preferences Web Browser window appears. I click New and added all the three fields Name, Location, Parameters. whe
Forums from same category