org.openqa.grid.web.utils
Class BrowserNameUtils
java.lang.Object
org.openqa.grid.web.utils.BrowserNameUtils
public class BrowserNameUtils
- extends Object
Utilities for dealing with browser names.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserNameUtils
public BrowserNameUtils()
lookupGrid1Environment
public static String lookupGrid1Environment(String browserString,
Registry registry)
parseGrid2Environment
public static Map<String,Object> parseGrid2Environment(String environment)
consoleIconName
public static String consoleIconName(org.openqa.selenium.remote.DesiredCapabilities cap,
Registry registry)
getConsoleIconPath
public static String getConsoleIconPath(org.openqa.selenium.remote.DesiredCapabilities cap,
Registry registry)
- get the icon representing the browser for the grid. If the icon cannot be located, returns
null.
- Parameters:
cap
-
- Returns:
Copyright © 2012. All Rights Reserved.