Directional, reusable electromagnetic pulse weapons are still science fiction. Producing any significant EMP today requires a large explosion.
As were drone swarms a few years ago. Don't underestimate the speed with which defence contractors will deploy solutions, especially if they sense that there is profit to be made. For example, OBSIDIAN, which is claimed to use proven radar technology to detect and track drones [0].
> Producing any significant EMP today requires a large explosion.
Which might not be a problem if you are defending critical national infrastructure or a high value military asset in a shooting war.