How to provide custom capabilities on the selenium server?
I know that some selenium capabilities can be obtained with a method, one of them like this : driver.getCapabilities().getBrowserName(); It returns the value of the browser name. But if it refers to an available method, if I don't misunderstand it, this seems to be related to custom capabilities, like this I mean : driver.getCapabilities().getCapability("something ?"); Returns: The value, or null if not set. So, I've tried to make a simple code to get the value I mean. private RemoteWebDriver driver; private URL url; private DesiredCapabilities dc = new DesiredCapabilities(); @Before public