Class CurrentOS

java.lang.Object
net.serenitybdd.model.CurrentOS

public class CurrentOS extends Object
  • Constructor Details

    • CurrentOS

      public CurrentOS()
  • Method Details

    • getType

      public static CurrentOS.OSType getType()
      detect the operating system from the os.name System property and cache the result
      Returns:
      - the operating system detected
    • isWindows

      public static boolean isWindows()