Add support for arbitrary tags
Ensure that the webdriver was configured before closing