Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding High Sierra to the platform set. Fixes SeleniumHQ#5969
Browse files Browse the repository at this point in the history
barancev authored and Grigory Mischenko committed Jul 12, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 45ee2b7 commit cde4a83
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions java/client/src/org/openqa/selenium/Platform.java
Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ public Platform family() {
}
},

SNOW_LEOPARD("snow leopard", "os x 10.6") {
SNOW_LEOPARD("snow leopard", "os x 10.6", "macos 10.6") {
@Override
public Platform family() {
return MAC;
@@ -102,7 +102,7 @@ public String toString() {
}
},

MOUNTAIN_LION("mountain lion", "os x 10.8") {
MOUNTAIN_LION("mountain lion", "os x 10.8", "macos 10.8") {
@Override
public Platform family() {
return MAC;
@@ -113,7 +113,7 @@ public String toString() {
}
},

MAVERICKS("mavericks", "os x 10.9") {
MAVERICKS("mavericks", "os x 10.9", "macos 10.9") {
@Override
public Platform family() {
return MAC;
@@ -124,7 +124,7 @@ public String toString() {
}
},

YOSEMITE("yosemite", "os x 10.10") {
YOSEMITE("yosemite", "os x 10.10", "macos 10.10") {
@Override
public Platform family() {
return MAC;
@@ -135,7 +135,7 @@ public String toString() {
}
},

EL_CAPITAN("el capitan", "os x 10.11") {
EL_CAPITAN("el capitan", "os x 10.11", "macos 10.11") {
@Override
public Platform family() {
return MAC;
@@ -146,7 +146,7 @@ public String toString() {
}
},

SIERRA("sierra", "macos 10.12") {
SIERRA("sierra", "os x 10.12", "macos 10.12") {
@Override
public Platform family() {
return MAC;
@@ -157,6 +157,17 @@ public String toString() {
}
},

HIGH_SIERRA("high sierra", "os x 10.13", "macos 10.13") {
@Override
public Platform family() {
return MAC;
}
@Override
public String toString() {
return "macOS 10.13";
}
},

/**
* Many platforms have UNIX traits, amongst them LINUX, Solaris and BSD.
*/

0 comments on commit cde4a83

Please sign in to comment.