Enum Class FirefoxCommandContext

java.lang.Object
java.lang.Enum<FirefoxCommandContext>
org.openqa.selenium.firefox.FirefoxCommandContext
All Implemented Interfaces:
Serializable, Comparable<FirefoxCommandContext>, Constable

public enum FirefoxCommandContext extends Enum<FirefoxCommandContext>
Represents the valid values for the command context used for executing Firefox driver commands.
  • Enum Constant Details

  • Method Details

    • values

      public static FirefoxCommandContext[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FirefoxCommandContext valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<FirefoxCommandContext>
    • fromString

      public static FirefoxCommandContext fromString(String text)