Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to open link in new tab selenium python

In order to do this you need to say the specific website
you want to open and type some code code that has the basic
structure such as:

from selenium import webdriver
from selenium.webdriver.common.keys import Keys

driver = webdriver.Firefox()
driver.get("http://www.google.com/")

driver.close()

If you dont want to close the window then simply dont put driver.close there
 
PREVIOUS NEXT
Tagged: #open #link #tab #selenium #python
ADD COMMENT
Topic
Name
7+6 =