Class ExecutableFinder

java.lang.Object
org.openqa.selenium.os.ExecutableFinder

public class ExecutableFinder extends Object
  • Constructor Details

    • ExecutableFinder

      public ExecutableFinder()
  • Method Details

    • find

      public String find(String named)
      Find the executable by scanning the file system and the PATH. In the case of Windows this method allows common executable endings (".com", ".bat" and ".exe") to be omitted.
      Parameters:
      named - The name of the executable to find
      Returns:
      The absolute path to the executable, or null if no match is made.