Skip to content

Commit

Permalink
Adding High Sierra to the platform set. Fixes #5969
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Jul 11, 2018
1 parent 96b8cc5 commit 821c6f3
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
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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.
*/
Expand Down

0 comments on commit 821c6f3

Please sign in to comment.