@classmethod
def from_spec(cls, name, properties):
    """
        Create browser object based on limits database data.

        :param name: browser identifier (name:platform:version)
        :param properties:
        :returns: browser object
        """
    name, platform, version = name.split(':')[:3]
    return cls(name, platform or '', cls.parse_version(version), int(
        properties['maxcookies']), int(properties['maxsize']), int(
        properties['maxtotal']))
