org.openqa.grid.web.utils
Class BrowserNameUtils

java.lang.Object
  extended by org.openqa.grid.web.utils.BrowserNameUtils

public class BrowserNameUtils
extends Object

Utilities for dealing with browser names.


Constructor Summary
BrowserNameUtils()
           
 
Method Summary
static String consoleIconName(org.openqa.selenium.remote.DesiredCapabilities cap, Registry registry)
           
static String getConsoleIconPath(org.openqa.selenium.remote.DesiredCapabilities cap, Registry registry)
          get the icon representing the browser for the grid.
static String lookupGrid1Environment(String browserString, Registry registry)
           
static Map<String,Object> parseGrid2Environment(String environment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserNameUtils

public BrowserNameUtils()
Method Detail

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.