I'm using selenium to do web scraping and I'm trying to use a link to open a tab, whilst staying on the original tab. I have the following:
first_link.send_keys(Keys.CONTROL + Keys.RETURN)
which is meant to open the tab and navigate to it, but it just opens up the link in the original tab. Is there any way to open the link in a new tab, and furthermore, not navigate to it?
Thanks!