可以试一试在执行完一次页面展开后new一个实例。参考代码:browser_1 = webdriver.Firefox();browser_1.get("url1");browser_2 = webdriver.Firefox();browser_2.get("url2");