code: @Override
  	public String getBrowserName() {
  		if (wd != null) {
  			Capabilities capabilities = ((HasCapabilities) wd)
  					.getCapabilities();
  			if (capabilities != null) {
  				return capabilities.getBrowserName();
  			}
  			return null;
  		}
  		return null;
  	}
docs: TODO: determine if there is a better option than returning null