Fix up browser capabilities building in the WebDriver manager.