File tree Expand file tree Collapse file tree
java/server/src/org/openqa/selenium/grid/node/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public class NodeOptions {
7474 private static final ImmutableCapabilities CURRENT_PLATFORM =
7575 new ImmutableCapabilities ("platformName" , Platform .getCurrent ());
7676 private static final ImmutableSet <String >
77- ONE_SESSION_DRIVERS = ImmutableSet .of ("safari" , "safari technology preview" );
77+ SINGLE_SESSION_DRIVERS = ImmutableSet .of ("safari" , "safari technology preview" );
7878
7979 private final Config config ;
8080
@@ -458,7 +458,7 @@ public Optional<WebDriver> createDriver(Capabilities capabilities)
458458 private int getDriverMaxSessions (WebDriverInfo info , int desiredMaxSessions ) {
459459 // Safari and Safari Technology Preview
460460 if (info .getMaximumSimultaneousSessions () == 1 &&
461- ONE_SESSION_DRIVERS .contains (info .getDisplayName ().toLowerCase ())) {
461+ SINGLE_SESSION_DRIVERS .contains (info .getDisplayName ().toLowerCase ())) {
462462 return info .getMaximumSimultaneousSessions ();
463463 }
464464 boolean overrideMaxSessions = config .getBool (NODE_SECTION , "override-max-sessions" )
You can’t perform that action at this time.
0 commit comments