Implement hashCode and require non nulls in WebDriverTargets