Python Selenium Webdriver Handling Multiple Windows At The Same Time

You can open more than one browser at a time:

from selenium import webdriver

driver1 = webdriver.Firefox()
driver2 = webdriver.Firefox()

driver1.get(...)
driver2.get(...)

If you want two windows into the current driver session you can use a little javascipt to open a second window with a single driver:

driver.execute_script("$(window.open('http://www.example.com'))")
window1 = driver.window_handles[0]
window2 = driver.window_handles[1]

# test the first window
driver.switch_to_window(window1)
...

# test the second window
driver.switch_to_window(window2)
...