Added support for custom capabilities in the BrowserConnector.