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