Don't quit current browser twice.
Move browser setup and teardown methods to make integration with pytest more flexible.