Stop passing empty required capabilities to safari
@@ -57,14 +57,7 @@ public SafariDriver(Capabilities desiredCapabilities) {
* @param safariOptions safari specific options / capabilities for the driver
*/
public SafariDriver(SafariOptions safariOptions) {
- super(getExecutor(safariOptions), safariOptions.toCapabilities(), requiredCapabilities(safariOptions));
- }
-
- /**
- * Ensure the new safaridriver receives non null required capabilities.
- */
- private static Capabilities requiredCapabilities(SafariOptions options) {
- return new DesiredCapabilities();
+ super(getExecutor(safariOptions), safariOptions.toCapabilities());
}
private static CommandExecutor getExecutor(SafariOptions options) {
