I\'m using the Firefox Webdriver in Python 2.7 on Windows to simulate opening (Ctrl+t) and closing (Ctrl + w) a new tab.
There's nothing easier and clearer than just running JavaScript.
Open new tab: driver.execute_script("window.open('');")
driver.execute_script("window.open('');")