checks that the browser name set in the provided capabilities matches the browser name set in the desired capabilities . concode_field_sep Logger LOG concode_field_sep Capabilities getProvidedCapabilities concode_elem_sep WebDriver callConstructor concode_elem_sep Class<? extends WebDriver> getDriverClass concode_elem_sep boolean canCreateDriverInstances concode_elem_sep WebDriver newInstance concode_elem_sep String toString
boolean function ( Capabilities arg0 ) { return BrowserType . FIREFOX . equals ( arg0 . getBrowserName ( ) ) ; }