public class SeleniumUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SeleniumUtils.SeleniumPattern
string-matching pattern of SeleniumIDE.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> String |
convertToString(T result)
Convert to String from the result of execute().
|
static boolean |
isJava7orLater()
Deprecated.
remove calling this method in caller.
|
static Map<String,String> |
loadJS(InputStream is)
Load JavaScript and put each function to map.
|
static String |
normalizeSpaces(String str)
Unifty U+0020 and U+00A0, Trim, and compress spaces in string.
|
static boolean |
patternMatches(String pattern,
CharSequence input)
String-match pattern.
|
public static boolean patternMatches(String pattern, CharSequence input)
pattern - pattern. prefix is "glob:", "regexp:", "regexpi:", or "exact:".input - input string.public static String normalizeSpaces(String str)
str - string.public static <T> String convertToString(T result)
T - the type of result object.result - the result of execute().@Deprecated public static boolean isJava7orLater()
public static Map<String,String> loadJS(InputStream is)
is - InputStream.Copyright © 2016. All rights reserved.