If you install npcap with the loopback support option during its installation, you might be able to select the loopback interface that is created. cap.deviceList() should show it if it exists.
The loopback interface has a link of type of NULL instead of 'ETHERNET' on windows, wich had 4 bytes, since I'll only be getting IPV4 protocols for my usecase, jumping the first four bytes will be ok.
If you install npcap with the loopback support option during its installation, you might be able to select the loopback interface that is created.
cap.deviceList()
should show it if it exists.