public void addExtraCapabilities ( DesiredCapabilities extraCapabilities ) { if ( extraCapabilities != null && browser . getName ( ) != BrowserName . NONE ) { desiredCapabilities = desiredCapabilities . merge ( extraCapabilities ) ; } }
If additional capabilities are provided in the test case add them in