Made further changes to adding capabilities

further changes made to how extra capabilities are defined for a browser