使用Selenium操作浏览器对象的基础( 二 )


# 只关闭当前浏览器窗口driver.close()(2)退出驱动并关闭所有关联的窗口
# 即关闭浏览器窗口 , 同时关闭浏览器驱动driver.quit()



推荐阅读