Wanting to install edge browser again all was ok until I used the following line as before on fedora 40 but now it seems the line has been changed, what’s it been changed to thanks
This method should work regardless of dnf versions.
Flatpak is also definitely supported, but be aware that some external browser integrations (eg, KeePassXC) might not work out of box via the flatpak method over RPM.