This invention relates to a device for dispensing foam onto plants and other objects. According to one example, the dispenser for dispensing foam comprises: a supply line in which a foamable solution flows under pressure and which comprises a gas inlet, a wand, a mixing chamber, and a nozzle, wherein the gas inlet introduces a gas into the foamable solution, the mixing chamber helps process the foamable solution into a foam, and the nozzle ejects the foam. In a variation, the mixing chamber can be located distally on the wand. In another example, the dispenser for dispensing foam comprises: a wand fluidly connected to a nozzle for ejecting a foam and a wiper attached to the wand, the wiper being for temporarily retaining ejected foam and making the foam available for wiping the foam onto a target surface.