Use a queue for the urls to visit and using an instance WebDriver instead of passing it around