Chrome browser says "No devices found" when I try to cast to a Chromecast

In Chrome browser enter chrome://flags/ into the address bar and search and enable:

  • Cast Media Route Provider -> enable.

If it doesn't help:

  • Connect to Cast devices on all IP addresses -> enable

If it doesn't help:

  • Load Media Router Component Extension -> enable

I resolved the error by right-clicking on the casting icon and clicking on the "Optimize fullscreen videos" option.

enter image description here

Now the Cast tab displays my Chromecast device.

Another thing that may cause the "No devices found" error is if you are connected to a VPN.