Implementing ability to pass arbitrary set of capabilities to the browser factory