more sane way of checking for FirefoxDriver