Description of my web page:
When I enter some details on my web Page it shows up couple of different links.
Out of that links, I need to click on one link and continue my testing from there on.
The problem is the new link always opens in a new Tab instead of a new window. I have tried the following option but it still opens the new link a Tab only.
Method 1 tried:
link = driver.find_element_by_partial_link_text("MyLink")
action = ActionChains(driver)
action.key_down(Keys.CONTROL).click(link).key_up(Keys.CONTROL).perform()