Package org.openqa.selenium.os
Class ExecutableFinder
- java.lang.Object
-
- org.openqa.selenium.os.ExecutableFinder
-
public class ExecutableFinder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ExecutableFinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
find(java.lang.String named)
Find the executable by scanning the file system and the PATH.
-
-
-
Method Detail
-
find
public java.lang.String find(java.lang.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.
-
-