1.从报错信息来看,第一个用例打开的浏览器直接Close()。再执行第二个用例的时候有没有再次打开浏览器?
2. Close()---Close the current window, quitting the browser if it's the last window currently open;
3.如果想不关闭浏览器,可以使用testng或者Junit中的注解,把打开浏览器的操作放在@beforeclass或者@beforemethod中,这样只打开一次浏览器执行完所有的用例后再关闭浏览器就可以。