That’s expected behaviour the visit button visits the web page served by the web_server component. You will also get this if you have the fallback AP in a Wi-Fi connected device.
There is an active issue for the web_server: component being loaded without being present in the yaml. This happens when wifi is enabled with captive_portal: also enabled, which is the default.