DEV Community

MOMO
MOMO

Posted on

Answer: Run python SCRIPT on multiple browsers at the same time using selenium

You could create multiple instances of the webdriver. You can then manipulate each individually. For example,

from selenium import webdriver
driver1 = webdriver.Chrome()
driver2 = webdriver.Chrome()
driver1.get("http://google.com")
driver2.get("http://yahoo.com")

Top comments (0)